Browse Source

Remove duplicate behavior on MacOSX

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

1
src/qt/bitcoingui.cpp

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

Loading…
Cancel
Save