Browse Source

Hide tray icon in destructor, as deleting will let it linger until quit (on Ubuntu)

pull/1/head
Wladimir J. van der Laan 11 years ago
parent
commit
27a0ed8a0a
  1. 2
      src/qt/bitcoingui.cpp

2
src/qt/bitcoingui.cpp

@ -165,6 +165,8 @@ BitcoinGUI::BitcoinGUI(QWidget *parent): @@ -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…
Cancel
Save