mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Merge pull request #895 from poixen/close_tray_icon
tray icon is now hidden and then removed
This commit is contained in:
commit
48f88e117e
1 changed files with 2 additions and 0 deletions
|
|
@ -425,6 +425,8 @@ MainWindow::MainWindow(QWidget *parent)
|
|||
|
||||
MainWindow::~MainWindow()
|
||||
{
|
||||
trayIcon->hide();
|
||||
trayIcon->deleteLater();
|
||||
client->deleteLater();
|
||||
clientThread->wait();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue