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:
parent
b97e66d589
commit
52255eb332
|
@ -321,7 +321,7 @@ QThread* Widget::getCoreThread()
|
||||||
|
|
||||||
void Widget::closeEvent(QCloseEvent *event)
|
void Widget::closeEvent(QCloseEvent *event)
|
||||||
{
|
{
|
||||||
if(Settings::getInstance().getCloseToTray() == true)
|
if(Settings::getInstance().getShowSystemTray() && Settings::getInstance().getCloseToTray() == true)
|
||||||
{
|
{
|
||||||
event->ignore();
|
event->ignore();
|
||||||
this->hide();
|
this->hide();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user