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()){
|
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!";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user