Commit 940e22fd authored by Gavin Andresen's avatar Gavin Andresen

Fix OSX build errors.

parent 4ac24cf5
......@@ -388,7 +388,7 @@ 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()), openBitcoinAction, SLOT(trigger()));
connect(dockIconHandler, SIGNAL(dockIconClicked()), toggleHideAction, SLOT(trigger()));
trayIconMenu = dockIconHandler->dockMenu();
#endif
......
......@@ -805,7 +805,7 @@ boost::filesystem::path GetDefaultDataDir()
pathRet = fs::path(pszHome);
#ifdef MAC_OSX
// Mac
pathRet /= "Library" / "Application Support";
pathRet /= "Library/Application Support";
filesystem::create_directory(pathRet);
return pathRet / "Bitcoin";
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment