Changeset 47c811cc09 in tspsg for src/mainwindow.cpp
- Timestamp:
- Oct 13, 2012, 9:02:50 PM (12 years ago)
- Branches:
- appveyor, imgbot, master, readme
- Children:
- b96b44b6b7
- Parents:
- 07e43cf61a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mainwindow.cpp
r07e43cf61a r47c811cc09 129 129 { 130 130 settings = initSettings(this); 131 132 // Sanity check 133 int m = settings->value("Tweaks/MaxNumCities", MAX_NUM_CITIES).toInt(); 134 if (m < 3) 135 settings->setValue("Tweaks/MaxNumCities", 3); 131 136 132 137 if (settings->contains("Style")) { … … 1966 1971 actionHelpCheck4Updates = NULL; 1967 1972 1968 spinCities->setMaximum( MAX_NUM_CITIES);1973 spinCities->setMaximum(settings->value("Tweaks/MaxNumCities", MAX_NUM_CITIES).toInt()); 1969 1974 1970 1975 #ifndef HANDHELD
Note: See TracChangeset
for help on using the changeset viewer.