diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-02-19 11:30:32 -0800 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-02-19 11:30:32 -0800 |
commit | 8a949dd6c3ce8161967330ebabf8ba021c0a6295 (patch) | |
tree | 44b365c50b14b20724c0a156ac0da911eb4e23e6 /src | |
parent | e0b8d459b189ee2b7e95a47b217e4b02bfb523b3 (diff) | |
parent | 27a0ed8a0a0c7e53a62f2dcde87db68bc182b6c0 (diff) | |
download | bitcoin-8a949dd6c3ce8161967330ebabf8ba021c0a6295.tar.xz |
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.cpp | 2 |
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 |