From 924975f6db7acc419f3ed1758fc5705ea1b13aea Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Wed, 3 Jun 2020 17:01:10 +0200 Subject: Use GenericConfigLocation so files will be placed correctly in non-portable Windows builds --- src/frontend/qt_sdl/Platform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3