Compilation fixes for Qt 6.0 Beta 3
This commit is contained in:
parent
de3afe27c1
commit
201b59cd4c
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue