diff --git a/src/config/geneneralconf.cpp b/src/config/geneneralconf.cpp index 24562d71..2250b93e 100644 --- a/src/config/geneneralconf.cpp +++ b/src/config/geneneralconf.cpp @@ -163,7 +163,7 @@ void GeneneralConf::initShowTrayIcon() { m_showTray->setToolTip(tr("Show the systemtray icon")); m_layout->addWidget(m_showTray); - connect(m_showTray, &QCheckBox::clicked, this, + connect(m_showTray, &QCheckBox::stateChanged, this, &GeneneralConf::showTrayIconChanged); #endif }