Bugfix: Allow tray icon to linger until Bitcoin-Qt shuts down completely. Fixes #908

Upstream commit: 7cfbe1fee4
This commit is contained in:
Luke Dashjr
2012-06-06 20:00:22 +00:00
parent d67b0434f2
commit 722ff53718

View 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