Merge pull request #867 from laanwj/2012_02_hidetrayicononquit
Hide tray icon in destructor, as deleting will let it linger until quit (on ubuntu)
This commit is contained in:
commit
8a949dd6c3
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue