[Scummvm-cvs-logs] SF.net SVN: scummvm: [30782] scummvm/trunk/base/main.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sun Feb 3 22:15:48 CET 2008


Revision: 30782
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30782&view=rev
Author:   eriktorbjorn
Date:     2008-02-03 13:15:48 -0800 (Sun, 03 Feb 2008)

Log Message:
-----------
Replaced GUI dialog with warning. We don't have any screen to draw on yet.

Modified Paths:
--------------
    scummvm/trunk/base/main.cpp

Modified: scummvm/trunk/base/main.cpp
===================================================================
--- scummvm/trunk/base/main.cpp	2008-02-03 21:13:56 UTC (rev 30781)
+++ scummvm/trunk/base/main.cpp	2008-02-03 21:15:48 UTC (rev 30782)
@@ -324,8 +324,9 @@
 			// PluginManager::instance().unloadPlugins();
 			PluginManager::instance().loadPlugins();
 		} else {
-			GUI::MessageDialog alert("Could not find any engine capable of running the selected game!");
-			alert.runModal();
+			// A dialog would be nicer, but we don't have any
+			// screen to draw on yet.
+			warning("Could not find any engine capable of running the selected game");
 		}
 
 		launcherDialog(system);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list