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

fixed path on mac

parent 540de517
......@@ -763,6 +763,7 @@ QString UBSettings::uniboardDataDirectory()
}
QString qtDataPath = UBFileSystemUtils::normalizeFilePath(UBDesktopServices::storageLocation(QDesktopServices::DataLocation));
qtDataPath.replace("/Open-Sankore", "");
qDebug() << qtDataPath;
return qtDataPath;
}
......
......@@ -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;
}
......
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