gui: Favor macOS show / hide action in dock menu

This commit is contained in:
João Barbosa 2018-09-02 19:05:34 +01:00
parent 68f3c7eb08
commit ee3a494f37

View file

@ -614,8 +614,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();