| 1407 | } |
| 1408 | |
| 1409 | void MainWindow::updatesAllowedChanged(bool allowed) |
| 1410 | { |
| 1411 | if(!BuildConfig.UPDATER_ENABLED) |
| 1412 | { |
| 1413 | return; |
| 1414 | } |
| 1415 | ui->actionCheckUpdate->setEnabled(allowed); |
| 1416 | } |
| 1417 | |
| 1418 | /* |
| 1419 | * Assumes the sender is a QAction |
nothing calls this directly
no test coverage detected