Commit 5d686fff authored by -f's avatar -f

fixed path issue

parent 0e2424a4
......@@ -120,9 +120,7 @@ UBApplication::UBApplication(const QString &id, int &argc, char **argv) : QtSing
staticMemoryCleaner = new QObject(0); // deleted in UBApplication destructor
setOrganizationName(UBSettings::organizationName());
qDebug() << "organization name" << organizationName();
qDebug() << "application" << this;
setOrganizationName("Open Education Foundation");
setOrganizationDomain("oe-f.org");
setApplicationName("OpenBoard");
......
......@@ -787,7 +787,7 @@ QString UBSettings::userDataDirectory()
}
dataDirPath = UBFileSystemUtils::normalizeFilePath(QDesktopServices::storageLocation(QDesktopServices::DataLocation));
dataDirPath.replace(UBSettings::organizationName() + "/", "OpenBoard");
dataDirPath.replace(qApp->organizationName() + "/", "");
}
return dataDirPath;
}
......@@ -881,12 +881,6 @@ QString UBSettings::userPodcastRecordingDirectory()
return dirPath;
}
QString UBSettings::organizationName()
{
return "Open Education Foundation";
}
QString UBSettings::userDocumentDirectory()
{
static QString documentDirectory = "";
......
......@@ -137,7 +137,6 @@ class UBSettings : public QObject
static QString userInteractiveDirectory();
static QString userInteractiveFavoritesDirectory();
static QString userPodcastRecordingDirectory();
static QString organizationName();
QString userGipLibraryDirectory();
......
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