diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2018-09-02 19:05:34 +0100 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2018-09-02 19:09:36 +0100 |
commit | ee3a494f37d6a459a5d935446ba08d69ea310b9b (patch) | |
tree | 5d53af428273b591a0cb7745d2be014e63235f19 | |
parent | 68f3c7eb080e461cfeac37f8db7034fe507241d0 (diff) |
gui: Favor macOS show / hide action in dock menu
-rw-r--r-- | src/qt/bitcoingui.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 5321cd94fd..86fdebdbef 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -614,8 +614,11 @@ void BitcoinGUI::createTrayIconMenu() #endif // Configuration of the tray icon (or dock icon) icon menu +#ifndef Q_OS_MAC + // Note: On Mac, the dock icon's menu already has show / hide action. trayIconMenu->addAction(toggleHideAction); trayIconMenu->addSeparator(); +#endif trayIconMenu->addAction(sendCoinsMenuAction); trayIconMenu->addAction(receiveCoinsMenuAction); trayIconMenu->addSeparator(); |