Commit 7c9e34d5 authored by Claudio Valerio's avatar Claudio Valerio

fixed path on mac

parent 540de517
...@@ -763,6 +763,7 @@ QString UBSettings::uniboardDataDirectory() ...@@ -763,6 +763,7 @@ QString UBSettings::uniboardDataDirectory()
} }
QString qtDataPath = UBFileSystemUtils::normalizeFilePath(UBDesktopServices::storageLocation(QDesktopServices::DataLocation)); QString qtDataPath = UBFileSystemUtils::normalizeFilePath(UBDesktopServices::storageLocation(QDesktopServices::DataLocation));
qtDataPath.replace("/Open-Sankore", ""); qtDataPath.replace("/Open-Sankore", "");
qDebug() << qtDataPath;
return qtDataPath; return qtDataPath;
} }
......
...@@ -96,7 +96,7 @@ QString UBDesktopServices::storageLocation(StandardLocation type) ...@@ -96,7 +96,7 @@ QString UBDesktopServices::storageLocation(StandardLocation type)
QString path = getFullPath(ref); QString path = getFullPath(ref);
if (QDesktopServices::DataLocation == type || QDesktopServices::CacheLocation == type) if (QDesktopServices::DataLocation == type || QDesktopServices::CacheLocation == type)
path += "/Sankore/Sankore"; path += "/Sankore/Open-Sankore";
return path; return path;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment