From af2b08214bacc528b66fa6047ef941a7f7208668 Mon Sep 17 00:00:00 2001 From: Nikolay Kasyanov Date: Wed, 18 Mar 2015 23:48:03 +0200 Subject: [PATCH] #2460: use Application Support as user data path on OS X --- components/files/macospath.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/components/files/macospath.cpp b/components/files/macospath.cpp index 3e53f5306..6e794796f 100644 --- a/components/files/macospath.cpp +++ b/components/files/macospath.cpp @@ -7,10 +7,6 @@ #include #include -/** - * FIXME: Someone with MacOS system should check this and correct if necessary - */ - namespace { boost::filesystem::path getUserHome() @@ -49,9 +45,8 @@ boost::filesystem::path MacOsPath::getUserConfigPath() const boost::filesystem::path MacOsPath::getUserDataPath() const { - // TODO: probably wrong? boost::filesystem::path userPath (getUserHome()); - userPath /= "Library/Preferences/"; + userPath /= "Library/Application Support/"; return userPath / mName; }