| 646 | } |
| 647 | |
| 648 | void MainWindow::setAutoUpdates(int state) { |
| 649 | m_config->setValue(SETTING_AUTOUPDATE, state); |
| 650 | ui->checkUpdates->setChecked(state); |
| 651 | |
| 652 | if (state == Qt::Checked) { |
| 653 | checkUpdate(false); |
| 654 | } |
| 655 | } |
| 656 | |
| 657 | void MainWindow::checkUpdate(bool forceInfoBox) { |
| 658 | if (!CEMU_RELEASE) { |
nothing calls this directly
no outgoing calls
no test coverage detected