Author: eudoxos
Date: 2009-01-24 18:33:01 +0100 (Sat, 24 Jan 2009)
New Revision: 1639

Modified:
   trunk/gui/qt3/QtGUI.cpp
Log:
1. Fix logic typo in QtGUI (warning when there shouldn't be and vice versa)


Modified: trunk/gui/qt3/QtGUI.cpp
===================================================================
--- trunk/gui/qt3/QtGUI.cpp     2009-01-24 10:40:10 UTC (rev 1638)
+++ trunk/gui/qt3/QtGUI.cpp     2009-01-24 17:33:01 UTC (rev 1639)
@@ -58,7 +58,7 @@
                #ifdef EMBED_PYTHON
                        LOG_DEBUG("Adding script parameter `"<<argv[index]<<"' 
from the command line.");
                        PythonUI::scriptArgs.push_back(string(argv[index]));
-                       if(!PythonUI::runScript.empty()) LOG_WARN("Got 
parameter `"<<argv[index]<<"', but no .py script to be run!");
+                       if(PythonUI::runScript.empty()) LOG_WARN("Got parameter 
`"<<argv[index]<<"', but no .py script to be run!");
                #else
                        LOG_ERROR("Unprocessed non-option argument: 
`"<<argv[index]<<"'");
                #endif


_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to