Changeset 7630 in orxonox.OLD for branches/qt_gui
- Timestamp:
- May 17, 2006, 8:11:27 AM (19 years ago)
- Location:
- branches/qt_gui/src/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/qt_gui/src/lib/gui/gui_saveable.cc
r7608 r7630 63 63 void Saveable::save() 64 64 { 65 Preferences::getInstance()->setMultiType(this->group->getName(), this->getName(), this->value() , true);65 Preferences::getInstance()->setMultiType(this->group->getName(), this->getName(), this->value() ); 66 66 PRINTF(4)("Saved to '%s' of group '%s' value '%s'\n", this->getName(), this->group->getName(), this->value().getCString()); 67 67 } -
branches/qt_gui/src/lib/parser/preferences/ini_file_prefs_reader.cc
r7256 r7630 28 28 IniParser iniParser; 29 29 30 31 Preferences* prefs = Preferences::getInstance(); 32 33 prefs->setUserIni( fileName ); 34 30 35 if ( !iniParser.readFile( fileName ) ) 31 36 return; 32 33 Preferences* prefs = Preferences::getInstance();34 37 35 38 iniParser.firstSection(); -
branches/qt_gui/src/lib/util/preferences.cc
r7629 r7630 259 259 IniParser iniParser(this->fileName); 260 260 261 if ( !iniParser.isOpen() )262 return false;263 264 261 std::list<prefSection>::iterator it = data.begin(); 265 262 bool didChanges = false;
Note: See TracChangeset
for help on using the changeset viewer.