1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

similar bug, when closing the window...

This commit is contained in:
Maximilian 2014-11-15 18:34:30 +01:00 committed by Tux3 / Mlkj / !Lev.uXFMLA
parent b97e66d589
commit 52255eb332

View File

@ -321,7 +321,7 @@ QThread* Widget::getCoreThread()
void Widget::closeEvent(QCloseEvent *event)
{
if(Settings::getInstance().getCloseToTray() == true)
if(Settings::getInstance().getShowSystemTray() && Settings::getInstance().getCloseToTray() == true)
{
event->ignore();
this->hide();