fixed path on mac

preferencesAboutTextFull
Claudio Valerio 13 years ago
parent 540de51734
commit 7c9e34d5ce
  1. 1
      src/core/UBSettings.cpp
  2. 2
      src/frameworks/UBDesktopServices_mac.cpp

@ -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;
}

Loading…
Cancel
Save