summaryrefslogtreecommitdiff
path: root/src/citra_qt/config.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2016-03-27 22:03:07 -0400
committerGravatar bunnei2016-03-27 22:03:07 -0400
commite815e4a6aa90d9e9319ad8fc7ffd840f323e0c23 (patch)
tree05cfc9a1568958d52ef655bdbb0f2ce274002a58 /src/citra_qt/config.cpp
parentMerge pull request #1573 from wwylele/input_fix (diff)
parentFix Qt chinese words encode problem on Windows (diff)
downloadyuzu-e815e4a6aa90d9e9319ad8fc7ffd840f323e0c23.tar.gz
yuzu-e815e4a6aa90d9e9319ad8fc7ffd840f323e0c23.tar.xz
yuzu-e815e4a6aa90d9e9319ad8fc7ffd840f323e0c23.zip
Merge pull request #1541 from LFsWang/path
Fix Qt string encode problem on Windows
Diffstat (limited to 'src/citra_qt/config.cpp')
-rw-r--r--src/citra_qt/config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/citra_qt/config.cpp b/src/citra_qt/config.cpp
index 8e247ff5c..d1a19ade9 100644
--- a/src/citra_qt/config.cpp
+++ b/src/citra_qt/config.cpp
@@ -16,7 +16,7 @@ Config::Config() {
16 // TODO: Don't hardcode the path; let the frontend decide where to put the config files. 16 // TODO: Don't hardcode the path; let the frontend decide where to put the config files.
17 qt_config_loc = FileUtil::GetUserPath(D_CONFIG_IDX) + "qt-config.ini"; 17 qt_config_loc = FileUtil::GetUserPath(D_CONFIG_IDX) + "qt-config.ini";
18 FileUtil::CreateFullPath(qt_config_loc); 18 FileUtil::CreateFullPath(qt_config_loc);
19 qt_config = new QSettings(QString::fromStdString(qt_config_loc), QSettings::IniFormat); 19 qt_config = new QSettings(QString::fromLocal8Bit(qt_config_loc.c_str()), QSettings::IniFormat);
20 20
21 Reload(); 21 Reload();
22} 22}