| 131 | } |
| 132 | |
| 133 | bool parseGeneralSection(const QString& key, const QString& value, LauncherSettings::General& general) |
| 134 | { |
| 135 | if (key == sFirstRunKey) |
| 136 | return parseBool(value, general.mFirstRun); |
| 137 | if (key == sMainWindowWidthKey) |
| 138 | return parseInt(value, general.mMainWindow.mWidth); |
| 139 | if (key == sMainWindowHeightKey) |
| 140 | return parseInt(value, general.mMainWindow.mHeight); |
| 141 | if (key == sMainWindowPosXKey) |
| 142 | return parseInt(value, general.mMainWindow.mPosX); |
| 143 | if (key == sMainWindowPosYKey) |
| 144 | return parseInt(value, general.mMainWindow.mPosY); |
| 145 | |
| 146 | return false; |
| 147 | } |
| 148 | |
| 149 | bool parseImporterSection(const QString& key, const QString& value, LauncherSettings::Importer& importer) |
| 150 | { |