comparison src/debugging/TSLogger.cpp @ 757:d690e8f38122

debugging:TSLogger: Commented out the message pop up for each incoming log message. git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@1034 59b1889a-e5ac-428c-b0c7-476e01d41282
author thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
date Mon, 11 Apr 2011 20:34:27 +0000
parents 4ec2ac09969d
children f3631db17328
comparison
equal deleted inserted replaced
756:5a0ece4b81b4 757:d690e8f38122
101 */ 101 */
102 void TSLogger::messageHandler(QtMsgType type, const char *msg) { 102 void TSLogger::messageHandler(QtMsgType type, const char *msg) {
103 if ( _instance == NULL ) 103 if ( _instance == NULL )
104 _instance = TSLogger::getInstance(); 104 _instance = TSLogger::getInstance();
105 105
106 //* 106 /*
107 QMessageBox messageBox; 107 QMessageBox messageBox;
108 QString messageBoxText = QString::fromUtf8( msg ); 108 QString messageBoxText = QString::fromUtf8( msg );
109 messageBox.setText( messageBoxText ); 109 messageBox.setText( messageBoxText );
110 messageBox.setWindowModality( Qt::ApplicationModal ); 110 messageBox.setWindowModality( Qt::ApplicationModal );
111 messageBox.exec(); 111 messageBox.exec();
112 //*/ 112 */
113 113
114 // Only log messages that have a higher or equal priority than set with the verbose level. 114 // Only log messages that have a higher or equal priority than set with the verbose level.
115 if ( type < _instance->_verboseLevel ) 115 if ( type < _instance->_verboseLevel )
116 return; 116 return;
117 117