Skip to content

Commit

Permalink
Fix bug with tray icon after close program
Browse files Browse the repository at this point in the history
  • Loading branch information
CineEncoder committed Aug 24, 2021
1 parent 089e34c commit ea60af9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@ void Widget::closeEvent(QCloseEvent *event) /*** Show prompt when close app ***/
_settings->endArray();
_settings->setValue("Settings/preset/pos_top", _pos_top);
_settings->setValue("Settings/preset/pos_cld", _pos_cld);*/
if (_hideInTrayFlag) {
trayIcon->hide();
}

event->accept();
}
Expand Down

0 comments on commit ea60af9

Please sign in to comment.