aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-02-19 11:30:32 -0800
committerWladimir J. van der Laan <laanwj@gmail.com>2012-02-19 11:30:32 -0800
commit8a949dd6c3ce8161967330ebabf8ba021c0a6295 (patch)
tree44b365c50b14b20724c0a156ac0da911eb4e23e6 /src
parente0b8d459b189ee2b7e95a47b217e4b02bfb523b3 (diff)
parent27a0ed8a0a0c7e53a62f2dcde87db68bc182b6c0 (diff)
Merge pull request #867 from laanwj/2012_02_hidetrayicononquit
Hide tray icon in destructor, as deleting will let it linger until quit (on ubuntu)
Diffstat (limited to 'src')
-rw-r--r--src/qt/bitcoingui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp
index c95afdcef3..65753a1839 100644
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -165,6 +165,8 @@ 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