mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-24 23:53:54 -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()
|
MainWindow::~MainWindow()
|
||||||
{
|
{
|
||||||
|
trayIcon->hide();
|
||||||
|
trayIcon->deleteLater();
|
||||||
client->deleteLater();
|
client->deleteLater();
|
||||||
clientThread->wait();
|
clientThread->wait();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue