Browse Source

Fix OSX build errors.

0.8
Gavin Andresen 13 years ago
parent
commit
940e22fd81
  1. 2
      src/qt/bitcoingui.cpp
  2. 2
      src/util.cpp

2
src/qt/bitcoingui.cpp

@ -388,7 +388,7 @@ 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()), openBitcoinAction, SLOT(trigger())); connect(dockIconHandler, SIGNAL(dockIconClicked()), toggleHideAction, SLOT(trigger()));
trayIconMenu = dockIconHandler->dockMenu(); trayIconMenu = dockIconHandler->dockMenu();
#endif #endif

2
src/util.cpp

@ -805,7 +805,7 @@ boost::filesystem::path GetDefaultDataDir()
pathRet = fs::path(pszHome); pathRet = fs::path(pszHome);
#ifdef MAC_OSX #ifdef MAC_OSX
// Mac // Mac
pathRet /= "Library" / "Application Support"; pathRet /= "Library/Application Support";
filesystem::create_directory(pathRet); filesystem::create_directory(pathRet);
return pathRet / "Bitcoin"; return pathRet / "Bitcoin";
#else #else

Loading…
Cancel
Save