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,10 +98,12 @@ void Widget::init()
|
||||||
|
|
||||||
if (Settings::getInstance().getShowSystemTray()){
|
if (Settings::getInstance().getShowSystemTray()){
|
||||||
icon->show();
|
icon->show();
|
||||||
|
if(Settings::getInstance().getAutostartInTray() == false)
|
||||||
|
this->show();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
if(Settings::getInstance().getAutostartInTray() == false)
|
|
||||||
this->show();
|
this->show();
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user