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

fixed appData path

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