Commit 0e2424a4 authored by -f's avatar -f

fixed appData path

parent 01bb8066
...@@ -787,11 +787,7 @@ QString UBSettings::userDataDirectory() ...@@ -787,11 +787,7 @@ QString UBSettings::userDataDirectory()
} }
dataDirPath = UBFileSystemUtils::normalizeFilePath(QDesktopServices::storageLocation(QDesktopServices::DataLocation)); dataDirPath = UBFileSystemUtils::normalizeFilePath(QDesktopServices::storageLocation(QDesktopServices::DataLocation));
qDebug() << "organization name" << UBSettings::organizationName(); dataDirPath.replace(UBSettings::organizationName() + "/", "OpenBoard");
qDebug() << "application" << qApp;
dataDirPath.replace(UBSettings::organizationName() + "/", "");
dataDirPath.truncate(dataDirPath.count() - 1);
dataDirPath.append("OpenBoard");
} }
return dataDirPath; return dataDirPath;
} }
......
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