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-12-30 00:19:18 +0000 |
commit | 298dc15686ce38855e41543c833b75e31bf89bce (patch) | |
tree | d2e045d2393557ba3ebfb2e4eea4fe1083f0090e /src | |
parent | fa941016e8c19cb9c750bd776eed7481d8a7e32c (diff) |
gui: Favor macOS show / hide action in dock menu
Github-Pull: #14133
Rebased-From: ee3a494f37d6a459a5d935446ba08d69ea310b9b
Diffstat (limited to 'src')
-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 e2488092e2..f9ff101d0e 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -606,8 +606,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(); |