Merge pull request #1379 from laanwj/2012_05_macoshide

Remove duplicate behavior on MacOSX
This commit is contained in:
Wladimir J. van der Laan 2012-05-22 10:33:03 -07:00
commit d1edab602a

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