diff options
author | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2020-06-03 17:01:10 +0200 |
---|---|---|
committer | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2020-06-03 17:01:10 +0200 |
commit | 924975f6db7acc419f3ed1758fc5705ea1b13aea (patch) | |
tree | bf04bfb2892a394c27b83758d28fec2462362e0c /src | |
parent | a4b88f0294c1d051dba55887d70835a518fa16b4 (diff) |
Use GenericConfigLocation so files will be placed correctly in non-portable Windows builds
Diffstat (limited to 'src')
-rw-r--r-- | src/frontend/qt_sdl/Platform.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/qt_sdl/Platform.cpp b/src/frontend/qt_sdl/Platform.cpp index 671fdee..43f358f 100644 --- a/src/frontend/qt_sdl/Platform.cpp +++ b/src/frontend/qt_sdl/Platform.cpp @@ -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); |