diff options
| author | 2016-04-04 21:55:08 -0400 | |
|---|---|---|
| committer | 2016-04-04 21:55:08 -0400 | |
| commit | b39340849631f565cf5c32bfdbab9fdc0bd4db9d (patch) | |
| tree | 8112be75d7f65ced275221040231a0ca1ae4f415 /src/citra_qt/config.cpp | |
| parent | Merge pull request #1640 from lioncash/cpp14 (diff) | |
| parent | remove debug code (diff) | |
| download | yuzu-b39340849631f565cf5c32bfdbab9fdc0bd4db9d.tar.gz yuzu-b39340849631f565cf5c32bfdbab9fdc0bd4db9d.tar.xz yuzu-b39340849631f565cf5c32bfdbab9fdc0bd4db9d.zip | |
Merge pull request #1620 from LFsWang/path
Fix filename&path 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 d1a19ade9..8e247ff5c 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::fromLocal8Bit(qt_config_loc.c_str()), QSettings::IniFormat); | 19 | qt_config = new QSettings(QString::fromStdString(qt_config_loc), QSettings::IniFormat); |
| 20 | 20 | ||
| 21 | Reload(); | 21 | Reload(); |
| 22 | } | 22 | } |