summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/config.cpp
diff options
context:
space:
mode:
authorLFsWang <tnst92002@gmail.com>2016-03-31 14:29:39 +0200
committerLFsWang <tnst92002@gmail.com>2016-03-31 14:29:39 +0200
commit87afef73b1825426ec43f36e2da4915dea632489 (patch)
tree62046128f861788b1847b4e6684121f5a7d5fc88 /src/citra_qt/config.cpp
parentfix unicode url problem on windows (diff)
downloadyuzu-87afef73b1825426ec43f36e2da4915dea632489.tar
yuzu-87afef73b1825426ec43f36e2da4915dea632489.tar.gz
yuzu-87afef73b1825426ec43f36e2da4915dea632489.tar.bz2
yuzu-87afef73b1825426ec43f36e2da4915dea632489.tar.lz
yuzu-87afef73b1825426ec43f36e2da4915dea632489.tar.xz
yuzu-87afef73b1825426ec43f36e2da4915dea632489.tar.zst
yuzu-87afef73b1825426ec43f36e2da4915dea632489.zip
Diffstat (limited to '')
-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 d1a19ade9..8e247ff5c 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::fromLocal8Bit(qt_config_loc.c_str()), QSettings::IniFormat);
+ qt_config = new QSettings(QString::fromStdString(qt_config_loc), QSettings::IniFormat);
Reload();
}