refs #129 - old LightApprc.7.4.0 problem
The default values save mechanizm is implemented.
SUIT is modified and the compillation error should not appear.
void XGUI_PreferencesDlg::onDefault()
{
// reset main resources
- //QtxResourceMgr::WorkingMode aPrev = myPreferences->resourceMgr()->setWorkingMode
- // (QtxResourceMgr::IgnoreUserValues);
- //myPreferences->retrieve();
- //myPreferences->resourceMgr()->setWorkingMode(aPrev);
+ QtxResourceMgr::WorkingMode aPrev = myPreferences->resourceMgr()->setWorkingMode
+ (QtxResourceMgr::IgnoreUserValues);
+ myPreferences->retrieve();
+ myPreferences->resourceMgr()->setWorkingMode(aPrev);
// reset plugin's resources
XGUI_Preferences::resetConfig();