Changeset 23 in tspsg-svn for trunk/src/settingsdialog.cpp


Ignore:
Timestamp:
Jun 22, 2009, 9:44:00 AM (16 years ago)
Author:
laleppa
Message:

Settings saving tweaks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/settingsdialog.cpp

    r21 r23  
    5050        labelHint->setMinimumHeight(labelHint->height());
    5151#endif // Q_OS_WINCE
    52         settings = new QSettings(INI_FILE,QSettings::IniFormat);
     52        settings = new QSettings(QSettings::IniFormat,QSettings::UserScope,"TSPSG","tspsg");
    5353        spinRandMin->setValue(settings->value("MinCost",DEF_RAND_MIN).toInt());
    5454        spinRandMax->setValue(settings->value("MaxCost",DEF_RAND_MAX).toInt());
Note: See TracChangeset for help on using the changeset viewer.