From 12691e15d453094a6623806f8bdcc912bead8c89 Mon Sep 17 00:00:00 2001 From: crowning- Date: Wed, 16 Nov 2016 22:04:26 +0100 Subject: [PATCH] [UI] TrayIcon + TrayIconMenu for OSX (review changes) --- src/qt/bitcoingui.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/qt/bitcoingui.h b/src/qt/bitcoingui.h index c22a1d60b6..2aebb9d34a 100644 --- a/src/qt/bitcoingui.h +++ b/src/qt/bitcoingui.h @@ -126,6 +126,7 @@ private: QSystemTrayIcon *trayIcon; QMenu *trayIconMenu; + QMenu *dockIconMenu; Notificator *notificator; RPCConsole *rpcConsole; HelpMessageDialog *helpMessageDialog; @@ -145,7 +146,7 @@ private: /** Create system tray icon and notification */ void createTrayIcon(const NetworkStyle *networkStyle); /** Create system tray menu (or setup the dock menu) */ - void createTrayIconMenu(); + void createIconMenu(QMenu *pmenu); /** Enable or disable all wallet-related actions */ void setWalletActionsEnabled(bool enabled);