Remove duplicate behavior on MacOSX

Dock icon on macosx already has show/hide functionality. This results in erratic behavior.
pull/1379/head
Wladimir J. van der Laan 13 years ago
parent 09cec19e2f
commit b06f9c1364

@ -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