From: Gavin Andresen Date: Thu, 12 Apr 2012 15:14:46 +0000 (-0400) Subject: Fix OSX build errors. X-Git-Tag: v0.4.0-unstable~129^2~86 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=940e22fd81af29dee6c07e413de1b446a21712b0 Fix OSX build errors. --- diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 9c1e05d..3c31f29 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 91f1810..5579a09 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