Changeset 665d32434f in tspsg for src/settingsdialog.cpp


Ignore:
Timestamp:
Jun 22, 2009, 9:44:00 AM (15 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
e7f7d3854d
Parents:
d5384ee64e
Message:

Settings saving tweaks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/settingsdialog.cpp

    rd5384ee64e r665d32434f  
    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.