split of createTrayIconMenu() from createTrayIcon() in BitcoinGUI

- this allows to setup the trayicon before we have and want a trayicon menu
- should be of great use, when we remove that splash screen
- fixes a small bug with the toggleHideAction icon, which is not only used with
  trayicon but also with the Mac dock
This commit is contained in:
Philip Kaufmann
2012-11-27 22:20:43 +01:00
parent 0c50d8b007
commit f82102121f
2 changed files with 24 additions and 9 deletions

View File

@@ -105,8 +105,10 @@ private:
void createMenuBar();
/** Create the toolbars */
void createToolBars();
/** Create system tray (notification) icon */
/** Create system tray icon and notification */
void createTrayIcon();
/** Create system tray menu (or setup the dock menu) */
void createTrayIconMenu();
public slots:
/** Set number of connections shown in the UI */