summaryrefslogtreecommitdiff
Side-by-side diff
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 *
output = 2; // need an application object to use MsgBox
}
- QString areaName = (oApp) ? oApp->appName() : "<unknown>";
+ // gcc 2.9x is dumb and sucks... can you hear it?
+ //QString areaName = (oApp) ? oApp->appName() : "<unknown>";
+ QString areaName;
+ if ( oApp ) areaName = oApp->appName();
+ else areaName = "<unknown>";
// Output
switch( output )