| 691 | } |
| 692 | |
| 693 | void MainWindow::updatesAllowedChanged(bool allowed) |
| 694 | { |
| 695 | if (!APPLICATION->updaterEnabled()) { |
| 696 | return; |
| 697 | } |
| 698 | ui->actionCheckUpdate->setEnabled(allowed); |
| 699 | } |
| 700 | |
| 701 | /* |
| 702 | * Assumes the sender is a QAction |
nothing calls this directly
no test coverage detected