aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-04-12 11:14:46 -0400
committerGavin Andresen <gavinandresen@gmail.com>2012-04-12 11:14:46 -0400
commit940e22fd81af29dee6c07e413de1b446a21712b0 (patch)
tree2ff1ad0c6e212fe1e09a9022ef68fb76768c75bc /src
parent4ac24cf59e40f88089b3ba172a662e19e51bc4a3 (diff)
Fix OSX build errors.
Diffstat (limited to 'src')
-rw-r--r--src/qt/bitcoingui.cpp2
-rw-r--r--src/util.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp
index 9c1e05d0c1..3c31f291c2 100644
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -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
diff --git a/src/util.cpp b/src/util.cpp
index 91f1810ea6..5579a09351 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -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