| 1235 | } |
| 1236 | |
| 1237 | void MainWindowImpl::checkVersion() |
| 1238 | { |
| 1239 | int savedVersion = IniSettings::currentVersion(); |
| 1240 | int currentVersion = globals::CURRENT_INTERNAL_VERSION; |
| 1241 | |
| 1242 | if (savedVersion < currentVersion) { |
| 1243 | #if (defined(Q_OS_WIN) || defined(Q_OS_MACOS)) |
| 1244 | // Open thank you page |
| 1245 | QString welcomePage = QString("https://converseen.fasterland.net/thank/"); |
| 1246 | QDesktopServices::openUrl(QUrl(welcomePage, QUrl::TolerantMode)); |
| 1247 | #endif |
| 1248 | IniSettings::setCurrentVersion(currentVersion); |
| 1249 | } |
| 1250 | } |
| 1251 | |
| 1252 | void MainWindowImpl::saveSettings() |
| 1253 | { |
nothing calls this directly
no outgoing calls
no test coverage detected