diff options
author | LFsWang <tnst92002@gmail.com> | 2016-03-17 17:18:45 +0800 |
---|---|---|
committer | LFsWang <tnst92002@gmail.com> | 2016-03-17 17:18:45 +0800 |
commit | 933af7af6687349860eb2fe5b28012f881e231d1 (patch) | |
tree | 6ba36e1c43ec909d32aa9fa4c79528098f5976a0 /src/citra_qt/config.cpp | |
parent | de7ecee51693c2319cb34689ffd5bdd398163299 (diff) |
Fix Qt chinese words encode problem on Windows
Diffstat (limited to 'src/citra_qt/config.cpp')
-rw-r--r-- | src/citra_qt/config.cpp | 2 |
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() { // TODO: Don't hardcode the path; let the frontend decide where to put the config files. qt_config_loc = FileUtil::GetUserPath(D_CONFIG_IDX) + "qt-config.ini"; FileUtil::CreateFullPath(qt_config_loc); - qt_config = new QSettings(QString::fromStdString(qt_config_loc), QSettings::IniFormat); + qt_config = new QSettings(QString::fromLocal8Bit(qt_config_loc.c_str()), QSettings::IniFormat); Reload(); } |