|
|
@ -787,7 +787,7 @@ QString UBSettings::userDataDirectory() |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
dataDirPath = UBFileSystemUtils::normalizeFilePath(QDesktopServices::storageLocation(QDesktopServices::DataLocation)); |
|
|
|
dataDirPath = UBFileSystemUtils::normalizeFilePath(QDesktopServices::storageLocation(QDesktopServices::DataLocation)); |
|
|
|
dataDirPath.replace(UBSettings::organizationName() + "/", "OpenBoard"); |
|
|
|
dataDirPath.replace(qApp->organizationName() + "/", ""); |
|
|
|
} |
|
|
|
} |
|
|
|
return dataDirPath; |
|
|
|
return dataDirPath; |
|
|
|
} |
|
|
|
} |
|
|
@ -881,12 +881,6 @@ QString UBSettings::userPodcastRecordingDirectory() |
|
|
|
return dirPath; |
|
|
|
return dirPath; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
QString UBSettings::organizationName() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return "Open Education Foundation"; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QString UBSettings::userDocumentDirectory() |
|
|
|
QString UBSettings::userDocumentDirectory() |
|
|
|
{ |
|
|
|
{ |
|
|
|
static QString documentDirectory = ""; |
|
|
|
static QString documentDirectory = ""; |
|
|
|