Salome HOME
Updates from V7_dev branch
[modules/gui.git] / src / Session / SALOME_Session_Server.cxx
index aa050e37337b160014ffa7b499c744efc793b3f8..27e56ff20335723bbc49642a32e6da3352afc602 100755 (executable)
@@ -108,13 +108,15 @@ void MessageOutput( QtMsgType type, const QMessageLogContext &context, const QSt
   switch ( type )
   {
   case QtDebugMsg:
-    //MESSAGE( "Debug: " << qPrintable(msg) );
+#ifdef QT_DEBUG_MESSAGE
+    MESSAGE( "Debug: " << qPrintable( QString(msg) ) );
+#endif
     break;
   case QtWarningMsg:
-    MESSAGE( "Warning: " << qPrintable(msg) );
+    MESSAGE( "Warning: " << qPrintable( QString(msg) ) );
     break;
   case QtFatalMsg:
-    MESSAGE( "Fatal: " << qPrintable(msg) );
+    MESSAGE( "Fatal: " << qPrintable( QString(msg) ) );
     break;
   }
 }