From 7c9e34d5ce6c14cb6a8cad0474465b2b455b68b5 Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Fri, 23 Dec 2011 08:55:27 +0100 Subject: [PATCH] fixed path on mac --- src/core/UBSettings.cpp | 1 + src/frameworks/UBDesktopServices_mac.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/UBSettings.cpp b/src/core/UBSettings.cpp index 63f06d6b..8d01f3c2 100644 --- a/src/core/UBSettings.cpp +++ b/src/core/UBSettings.cpp @@ -763,6 +763,7 @@ QString UBSettings::uniboardDataDirectory() } QString qtDataPath = UBFileSystemUtils::normalizeFilePath(UBDesktopServices::storageLocation(QDesktopServices::DataLocation)); qtDataPath.replace("/Open-Sankore", ""); + qDebug() << qtDataPath; return qtDataPath; } diff --git a/src/frameworks/UBDesktopServices_mac.cpp b/src/frameworks/UBDesktopServices_mac.cpp index a2b9a019..839502dc 100644 --- a/src/frameworks/UBDesktopServices_mac.cpp +++ b/src/frameworks/UBDesktopServices_mac.cpp @@ -96,7 +96,7 @@ QString UBDesktopServices::storageLocation(StandardLocation type) QString path = getFullPath(ref); if (QDesktopServices::DataLocation == type || QDesktopServices::CacheLocation == type) - path += "/Sankore/Sankore"; + path += "/Sankore/Open-Sankore"; return path; }