Remove duplicate behavior on MacOSX

Dock icon on macosx already has show/hide functionality. This results in erratic behavior.
This commit is contained in:
Wladimir J. van der Laan 2012-05-22 18:28:10 +02:00
parent 09cec19e2f
commit b06f9c1364

View file

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