gui: Favor macOS show / hide action in dock menu

Github-Pull: #14133
Rebased-From: ee3a494f37
This commit is contained in:
João Barbosa 2018-09-02 19:05:34 +01:00
parent fa941016e8
commit 298dc15686

View file

@ -606,8 +606,11 @@ void BitcoinGUI::createTrayIconMenu()
#endif #endif
// Configuration of the tray icon (or dock icon) icon menu // 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->addAction(toggleHideAction);
trayIconMenu->addSeparator(); trayIconMenu->addSeparator();
#endif
trayIconMenu->addAction(sendCoinsMenuAction); trayIconMenu->addAction(sendCoinsMenuAction);
trayIconMenu->addAction(receiveCoinsMenuAction); trayIconMenu->addAction(receiveCoinsMenuAction);
trayIconMenu->addSeparator(); trayIconMenu->addSeparator();