|
|
|
@ -39,13 +39,13 @@ using namespace std;
|
|
|
|
|
static void myMessageOutput( TQtMsgType type, const char *msg )
|
|
|
|
|
{
|
|
|
|
|
switch ( type ) {
|
|
|
|
|
case QtDebugMsg:
|
|
|
|
|
case TQtDebugMsg:
|
|
|
|
|
KSYSV_DEBUG(cerr << "Debug: " << msg << endl);
|
|
|
|
|
break;
|
|
|
|
|
case QtWarningMsg:
|
|
|
|
|
case TQtWarningMsg:
|
|
|
|
|
KSYSV_DEBUG(cerr << "Warning: " << msg << endl);
|
|
|
|
|
break;
|
|
|
|
|
case QtFatalMsg:
|
|
|
|
|
case TQtFatalMsg:
|
|
|
|
|
cerr << "Fatal: " << msg << endl;
|
|
|
|
|
abort(); // dump core on purpose
|
|
|
|
|
}
|
|
|
|
|