From 35e4d0b2a71b8ca15baeb0b0383af21fc1d8d3ae Mon Sep 17 00:00:00 2001 From: mickeyl Date: Sun, 30 Mar 2003 02:17:58 +0000 Subject: one more fix for gcc 2.9x --- (limited to 'libopie2/opiecore') 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() : ""; + // gcc 2.9x is dumb and sucks... can you hear it? + //QString areaName = (oApp) ? oApp->appName() : ""; + QString areaName; + if ( oApp ) areaName = oApp->appName(); + else areaName = ""; // Output switch( output ) -- cgit v0.9.0.2