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…
Reference in a new issue