summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/configuration/config.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-07-18 03:30:01 +0200
committerGitHub <noreply@github.com>2017-07-18 03:30:01 +0200
commit822e8d21ea9fd080a76fa939494c14c9bd2f3e27 (patch)
tree4d318f30937d9e1091dbd2a3c90920594dbd2081 /src/citra_qt/configuration/config.cpp
parentMerge pull request #2818 from B3n30/network (diff)
parentcitra-qt: Add option to configure the UI theme (diff)
downloadyuzu-822e8d21ea9fd080a76fa939494c14c9bd2f3e27.tar
yuzu-822e8d21ea9fd080a76fa939494c14c9bd2f3e27.tar.gz
yuzu-822e8d21ea9fd080a76fa939494c14c9bd2f3e27.tar.bz2
yuzu-822e8d21ea9fd080a76fa939494c14c9bd2f3e27.tar.lz
yuzu-822e8d21ea9fd080a76fa939494c14c9bd2f3e27.tar.xz
yuzu-822e8d21ea9fd080a76fa939494c14c9bd2f3e27.tar.zst
yuzu-822e8d21ea9fd080a76fa939494c14c9bd2f3e27.zip
Diffstat (limited to 'src/citra_qt/configuration/config.cpp')
-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 40142b6d9..75abb4ce6 100644
--- a/src/citra_qt/configuration/config.cpp
+++ b/src/citra_qt/configuration/config.cpp
@@ -141,6 +141,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();
@@ -281,6 +282,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);