Changeset 7605 in orxonox.OLD for branches/qt_gui/src
- Timestamp:
- May 12, 2006, 10:30:49 AM (19 years ago)
- Location:
- branches/qt_gui/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/qt_gui/src/lib/gui/gui_saveable.cc
r7604 r7605 58 58 { 59 59 this->value() = Preferences::getInstance()->getMultiType(this->group->getName(), this->getName(), this->_value); 60 PRINTF(4)("Loaded to '%s' of group '%s' value ", this->getName(), this->group->getName()); 61 this->value().debug(); 62 60 PRINTF(4)("Loaded to '%s' of group '%s' value '%s'\n", this->getName(), this->group->getName(), this->value().getCString()); 63 61 } 64 62 … … 66 64 { 67 65 Preferences::getInstance()->setMultiType(this->group->getName(), this->getName(), this->value(), true); 68 PRINTF(4)("Saved to '%s' of group '%s' value ", this->getName(), this->group->getName()); 69 this->value().debug(); 66 PRINTF(4)("Saved to '%s' of group '%s' value '%s'\n", this->getName(), this->group->getName(), this->value().getCString()); 70 67 } 71 68 -
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.