Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8750 in orxonox.OLD for trunk/src/orxonox.cc


Ignore:
Timestamp:
Jun 23, 2006, 5:28:13 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: now one can also close orxonox when the datadir is not found by the user

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/orxonox.cc

    r8749 r8750  
    348348    OrxGui::Gui* gui = new OrxGui::QtGuiDataDirFallback(argc, argv);
    349349    gui->startGui();
     350    if (gui->getState() == OrxGui::Gui::Quitting)
     351      return(-1);
    350352    delete gui;
    351353    ResourceManager::getInstance()->setDataDir(Preferences::getInstance()->getString(CONFIG_SECTION_GENERAL, CONFIG_NAME_DATADIR, ""));
Note: See TracChangeset for help on using the changeset viewer.