Fix OSX build errors.
authorGavin Andresen <gavinandresen@gmail.com>
Thu, 12 Apr 2012 15:14:46 +0000 (11:14 -0400)
committerGavin Andresen <gavinandresen@gmail.com>
Thu, 12 Apr 2012 15:14:46 +0000 (11:14 -0400)
src/qt/bitcoingui.cpp
src/util.cpp

index 9c1e05d..3c31f29 100644 (file)
@@ -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
 
index 91f1810..5579a09 100644 (file)
@@ -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