Use GenericConfigLocation so files will be placed correctly in non-portable Windows builds
This commit is contained in:
parent
a4b88f0294
commit
924975f6db
|
@ -169,7 +169,7 @@ FILE* OpenLocalFile(const char* path, const char* mode)
|
|||
fullpath = path;
|
||||
#else
|
||||
// Check user configuration directory
|
||||
QDir config(QStandardPaths::writableLocation(QStandardPaths::ConfigLocation));
|
||||
QDir config(QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation));
|
||||
config.mkdir("melonDS");
|
||||
fullpath = config.absolutePath() + "/melonDS/";
|
||||
fullpath.append(path);
|
||||
|
|
Loading…
Reference in New Issue