summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/configuration
diff options
context:
space:
mode:
authorKloen <kloen@outlawkiwi.com>2017-06-24 02:35:17 +0200
committerKloen <kloen@outlawkiwi.com>2017-06-24 05:48:35 +0200
commitbbeb9f1dbbac983c85b87085865d23b33ce51add (patch)
tree21129c8783d75541dc8eca3062310671b6396eba /src/citra_qt/configuration
parentMerge pull request #2798 from yuriks/svc-create-session (diff)
downloadyuzu-bbeb9f1dbbac983c85b87085865d23b33ce51add.tar
yuzu-bbeb9f1dbbac983c85b87085865d23b33ce51add.tar.gz
yuzu-bbeb9f1dbbac983c85b87085865d23b33ce51add.tar.bz2
yuzu-bbeb9f1dbbac983c85b87085865d23b33ce51add.tar.lz
yuzu-bbeb9f1dbbac983c85b87085865d23b33ce51add.tar.xz
yuzu-bbeb9f1dbbac983c85b87085865d23b33ce51add.tar.zst
yuzu-bbeb9f1dbbac983c85b87085865d23b33ce51add.zip
Diffstat (limited to 'src/citra_qt/configuration')
-rw-r--r--src/citra_qt/configuration/config.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/citra_qt/configuration/config.cpp b/src/citra_qt/configuration/config.cpp
index 64ffc9152..b7b129fe0 100644
--- a/src/citra_qt/configuration/config.cpp
+++ b/src/citra_qt/configuration/config.cpp
@@ -134,6 +134,7 @@ void Config::ReadValues() {
qt_config->endGroup();
qt_config->beginGroup("UI");
+ UISettings::values.theme = qt_config->value("theme", UISettings::themes[0].second).toString();
qt_config->beginGroup("UILayout");
UISettings::values.geometry = qt_config->value("geometry").toByteArray();
@@ -269,6 +270,7 @@ void Config::SaveValues() {
qt_config->endGroup();
qt_config->beginGroup("UI");
+ qt_config->setValue("theme", UISettings::values.theme);
qt_config->beginGroup("UILayout");
qt_config->setValue("geometry", UISettings::values.geometry);