Bugfix: Allow tray icon to linger until Bitcoin-Qt shuts down completely. Fixes #908
authorLuke Dashjr <luke-jr+git@utopios.org>
Wed, 6 Jun 2012 20:00:22 +0000 (20:00 +0000)
committerLuke Dashjr <luke-jr+git@utopios.org>
Wed, 6 Jun 2012 20:00:22 +0000 (20:00 +0000)
Upstream commit: 7cfbe1fee465e82ddbdc8ed17dfcce791bd765f5

src/qt/bitcoingui.cpp

index e5e3572..175fc4f 100644 (file)
@@ -165,8 +165,6 @@ BitcoinGUI::BitcoinGUI(QWidget *parent):
 
 BitcoinGUI::~BitcoinGUI()
 {
-    if(trayIcon) // Hide tray icon, as deleting will let it linger until quit (on Ubuntu)
-        trayIcon->hide();
 #ifdef Q_WS_MAC
     delete appMenuBar;
 #endif