MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / on_checkBox_stateChanged

Method on_checkBox_stateChanged

src/WizPreferenceDialog.cpp:433–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431}
432
433void 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
444void WizPreferenceWindow::on_checkBoxTrayIcon_toggled(bool checked)
445{

Callers

nothing calls this directly

Calls 3

setAutoCheckUpdateMethod · 0.80
checkWizUpdateMethod · 0.80
mainWindowMethod · 0.45

Tested by

no test coverage detected