Changeset 7605 in orxonox.OLD for branches/qt_gui/src/orxonox.cc
- Timestamp:
- May 12, 2006, 10:30:49 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/qt_gui/src/orxonox.cc
r7601 r7605 421 421 422 422 IniFilePrefsReader ini(ResourceManager::homeDirCheck(DEFAULT_CONFIG_FILE)); 423 Preferences::getInstance()->setUserIni(ResourceManager::homeDirCheck(DEFAULT_CONFIG_FILE)); 423 424 424 425 prefs.parse(argc, argv); … … 498 499 499 500 // starting the GUI 500 OrxGui:: Gui* gui = new OrxGui::QtGui(argc, argv);501 gui ->startGui();502 503 if (gui ->getState() & OrxGui::Gui::Quitting)501 OrxGui::QtGui gui(argc, argv); 502 gui.startGui(); 503 504 if (gui.getState() & OrxGui::Gui::Quitting) 504 505 return 0; 505 506 506 delete gui;507 507 } 508 508
Note: See TracChangeset
for help on using the changeset viewer.