| 1608 | } |
| 1609 | |
| 1610 | void MainWindow::checkForUpdates() |
| 1611 | { |
| 1612 | if(BuildConfig.UPDATER_ENABLED) |
| 1613 | { |
| 1614 | auto updater = APPLICATION->updateChecker(); |
| 1615 | updater->checkForUpdate(APPLICATION->settings()->get("UpdateChannel").toString(), true); |
| 1616 | } |
| 1617 | else |
| 1618 | { |
| 1619 | qWarning() << "Updater not set up. Cannot check for updates."; |
| 1620 | } |
| 1621 | } |
| 1622 | |
| 1623 | void MainWindow::on_actionSettings_triggered() |
| 1624 | { |
nothing calls this directly
no test coverage detected