Compilation fixes for Qt 6.0 Beta 3

This commit is contained in:
Cameron Gutman
2020-11-07 19:23:23 -06:00
parent de3afe27c1
commit 201b59cd4c
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ QString Path::getDataFilePath(QString fileName)
}
// Now check the data directories (for Linux, in particular)
candidatePath = QStandardPaths::locate(QStandardPaths::DataLocation, fileName);
candidatePath = QStandardPaths::locate(QStandardPaths::AppDataLocation, fileName);
if (!candidatePath.isEmpty() && QFile::exists(candidatePath)) {
qInfo() << "Found" << fileName << "at" << candidatePath;
return candidatePath;