fixed appData path

preferencesAboutTextFull
-f 11 years ago
parent 01bb806677
commit 0e2424a419
  1. 6
      src/core/UBSettings.cpp

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

Loading…
Cancel
Save