r14.0.x
Timothy Pearson 13 years ago
parent 6d06e1e3e4
commit e524d05b81

@ -49,16 +49,16 @@ BibleTime* bibletime_ptr = 0;
void myMessageOutput( TQtMsgType type, const char *msg ) {
//we use this messagehandler to switch debugging off in final releases
switch ( type ) {
case QtDebugMsg:
case TQtDebugMsg:
if (showDebugMessages) { //only show messages if they are enabled!
fprintf( stderr,"(BibleTime %s) Debug: %s\n",VERSION, msg );
}
break;
case QtWarningMsg:
case TQtWarningMsg:
//if (showDebugMessages) //comment out for releases so users don't get our debug warnings
fprintf( stderr,"(BibleTime %s) WARNING: %s\n",VERSION, msg );
break;
case QtFatalMsg:
case TQtFatalMsg:
fprintf( stderr,"(BibleTime %s) _FATAL_: %s\nPlease visit http://bugs.pearsoncomputing.net and report this bug!",VERSION, msg );
abort(); // dump core on purpose
}

Loading…
Cancel
Save