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:
parent
e5b34115c6
commit
b97e66d589
|
@ -98,11 +98,13 @@ void Widget::init()
|
|||
|
||||
if (Settings::getInstance().getShowSystemTray()){
|
||||
icon->show();
|
||||
}
|
||||
|
||||
if(Settings::getInstance().getAutostartInTray() == false)
|
||||
this->show();
|
||||
}
|
||||
else
|
||||
this->show();
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
qWarning() << "No system tray detected!";
|
||||
|
|
Loading…
Reference in New Issue
Block a user