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

Minor bug fix:

The main window, will never be visible, when the user unchecked 'Show system try' and checked 'Start in tray'.
This commit is contained in:
Maximilian 2014-11-15 18:13:41 +01:00 committed by Tux3 / Mlkj / !Lev.uXFMLA
parent e5b34115c6
commit b97e66d589

View File

@ -98,11 +98,13 @@ void Widget::init()
if (Settings::getInstance().getShowSystemTray()){ if (Settings::getInstance().getShowSystemTray()){
icon->show(); icon->show();
}
if(Settings::getInstance().getAutostartInTray() == false) if(Settings::getInstance().getAutostartInTray() == false)
this->show(); this->show();
} }
else
this->show();
}
else else
{ {
qWarning() << "No system tray detected!"; qWarning() << "No system tray detected!";