Fix problem with disabled tray icon (#495)

This commit is contained in:
greno4ka
2019-04-18 14:41:08 +03:00
committed by Dharkael
parent b75ee75f90
commit 7ee9a3f173

View File

@@ -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
}