summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2003-03-30 02:17:58 (UTC)
committer mickeyl <mickeyl>2003-03-30 02:17:58 (UTC)
commit35e4d0b2a71b8ca15baeb0b0383af21fc1d8d3ae (patch) (unidiff)
tree335bb12952530b397788e0b02e2072c48788b920
parent4ace7ac9fff84df80d3066236ff970b9b393cf48 (diff)
downloadopie-35e4d0b2a71b8ca15baeb0b0383af21fc1d8d3ae.zip
opie-35e4d0b2a71b8ca15baeb0b0383af21fc1d8d3ae.tar.gz
opie-35e4d0b2a71b8ca15baeb0b0383af21fc1d8d3ae.tar.bz2
one more fix for gcc 2.9x
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/odebug.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/libopie2/opiecore/odebug.cpp b/libopie2/opiecore/odebug.cpp
index b4eaf2d..b2a37bc 100644
--- a/libopie2/opiecore/odebug.cpp
+++ b/libopie2/opiecore/odebug.cpp
@@ -124,7 +124,11 @@ static void oDebugBackend( unsigned short level, unsigned int area, const char *
124 output = 2; // need an application object to use MsgBox 124 output = 2; // need an application object to use MsgBox
125 } 125 }
126 126
127 QString areaName = (oApp) ? oApp->appName() : "<unknown>"; 127 // gcc 2.9x is dumb and sucks... can you hear it?
128 //QString areaName = (oApp) ? oApp->appName() : "<unknown>";
129 QString areaName;
130 if ( oApp ) areaName = oApp->appName();
131 else areaName = "<unknown>";
128 132
129 // Output 133 // Output
130 switch( output ) 134 switch( output )