Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7604 in orxonox.OLD


Ignore:
Timestamp:
May 12, 2006, 9:22:14 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: Prefs reader will rule

Location:
branches/qt_gui/src/lib/gui
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/qt_gui/src/lib/gui/gui.cc

    r7600 r7604  
    1818#include "gui.h"
    1919#include "gui_saveable.h"
    20 
     20#include "preferences.h"
    2121
    2222namespace OrxGui
     
    6060      (*saveElem)->save();
    6161    }
     62
     63    Preferences::getInstance()->save();
    6264  }
    6365
  • branches/qt_gui/src/lib/gui/gui_saveable.cc

    r7600 r7604  
    6565  void Saveable::save()
    6666  {
    67     Preferences::getInstance()->setMultiType(this->group->getName(), this->getName(), this->value());
     67    Preferences::getInstance()->setMultiType(this->group->getName(), this->getName(), this->value(), true);
    6868    PRINTF(4)("Saved to '%s' of group '%s' value ", this->getName(), this->group->getName());
    6969    this->value().debug();
  • branches/qt_gui/src/lib/gui/qt_gui/qt_gui.cc

    r7600 r7604  
    7575    this->loadAll();
    7676    this->exec();
     77    this->saveAll();
     78
    7779  }
    7880
Note: See TracChangeset for help on using the changeset viewer.