From: eap Date: Fri, 12 Oct 2018 10:38:47 +0000 (+0300) Subject: Fix compilation error in DEBUG mode X-Git-Tag: V9_2_0a2~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b31218db4cacfe66b1248ddfa323785844b90e51;p=modules%2Fgui.git Fix compilation error in DEBUG mode --- diff --git a/src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_PyModule.cxx b/src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_PyModule.cxx index 787d8d5fd..0272b7750 100644 --- a/src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_PyModule.cxx +++ b/src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_PyModule.cxx @@ -66,7 +66,7 @@ const int DEFAULT_GROUP = 40; QMutex myInitMutex; /*! DEBUG mode */ -const bool DEBUG = false; +const bool theDEBUG = false; /*! \var IsCallOldMethods @@ -168,17 +168,17 @@ public: FuncMsg( const QString& funcName ) { myName = funcName; - if ( DEBUG ) + if ( theDEBUG ) MESSAGE( qPrintable( myName ) << " [ begin ]" ); } ~FuncMsg() { - if ( DEBUG ) + if ( theDEBUG ) MESSAGE( qPrintable( myName ) << " [ end ]" ); } void message( const QString& msg ) { - if ( DEBUG ) + if ( theDEBUG ) MESSAGE( qPrintable( myName ) << " : " << qPrintable( msg ) ); } private: