| 431 | } |
| 432 | |
| 433 | void WizPreferenceWindow::on_checkBox_stateChanged(int arg1) |
| 434 | { |
| 435 | bool autoUpdate = (arg1 == Qt::Checked); |
| 436 | m_app.userSettings().setAutoCheckUpdate(autoUpdate); |
| 437 | |
| 438 | if (autoUpdate) { |
| 439 | WizMainWindow* mainWindow = qobject_cast<WizMainWindow*>(m_app.mainWindow()); |
| 440 | mainWindow->checkWizUpdate(); |
| 441 | } |
| 442 | } |
| 443 | |
| 444 | void WizPreferenceWindow::on_checkBoxTrayIcon_toggled(bool checked) |
| 445 | { |
nothing calls this directly
no test coverage detected