Merge pull request #895 from poixen/close_tray_icon

tray icon is now hidden and then removed
This commit is contained in:
Gavin Bisesi 2015-04-01 06:17:37 -04:00
commit 48f88e117e

View file

@ -425,6 +425,8 @@ MainWindow::MainWindow(QWidget *parent)
MainWindow::~MainWindow()
{
trayIcon->hide();
trayIcon->deleteLater();
client->deleteLater();
clientThread->wait();
}