Browse Source

Remove duplicate behavior on MacOSX

Dock icon on macosx already has show/hide functionality. This results in erratic behavior.
pull/1/head
Wladimir J. van der Laan 10 years ago
parent
commit
b06f9c1364
  1. 1
      src/qt/bitcoingui.cpp

1
src/qt/bitcoingui.cpp

@ -404,7 +404,6 @@ void BitcoinGUI::createTrayIcon() @@ -404,7 +404,6 @@ void BitcoinGUI::createTrayIcon()
#else
// Note: On Mac, the dock icon is used to provide the tray's functionality.
MacDockIconHandler *dockIconHandler = MacDockIconHandler::instance();
connect(dockIconHandler, SIGNAL(dockIconClicked()), toggleHideAction, SLOT(trigger()));
trayIconMenu = dockIconHandler->dockMenu();
#endif

Loading…
Cancel
Save