summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-07-25 04:23:45 +0200
committerGitHub <noreply@github.com>2020-07-25 04:23:45 +0200
commitc73701edeae64e19097ecbfaa6860c86e2a4675b (patch)
tree80727d40fba44f899b36a50d5ad264ce72f80894 /src
parentMerge pull request #4334 from lat9nq/clear-per-game-settings (diff)
parentwait_tree: Include Midnight Blue dark themes (diff)
downloadyuzu-c73701edeae64e19097ecbfaa6860c86e2a4675b.tar
yuzu-c73701edeae64e19097ecbfaa6860c86e2a4675b.tar.gz
yuzu-c73701edeae64e19097ecbfaa6860c86e2a4675b.tar.bz2
yuzu-c73701edeae64e19097ecbfaa6860c86e2a4675b.tar.lz
yuzu-c73701edeae64e19097ecbfaa6860c86e2a4675b.tar.xz
yuzu-c73701edeae64e19097ecbfaa6860c86e2a4675b.tar.zst
yuzu-c73701edeae64e19097ecbfaa6860c86e2a4675b.zip
Diffstat (limited to '')
-rw-r--r--src/yuzu/debugger/wait_tree.cpp5
-rw-r--r--src/yuzu/uisettings.cpp2
-rw-r--r--src/yuzu/uisettings.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/src/yuzu/debugger/wait_tree.cpp b/src/yuzu/debugger/wait_tree.cpp
index f391a41a9..3439cb333 100644
--- a/src/yuzu/debugger/wait_tree.cpp
+++ b/src/yuzu/debugger/wait_tree.cpp
@@ -38,7 +38,10 @@ constexpr std::array<std::array<Qt::GlobalColor, 2>, 10> WaitTreeColors{{
bool IsDarkTheme() {
const auto& theme = UISettings::values.theme;
- return theme == QStringLiteral("qdarkstyle") || theme == QStringLiteral("colorful_dark");
+ return theme == QStringLiteral("qdarkstyle") ||
+ theme == QStringLiteral("qdarkstyle_midnight_blue") ||
+ theme == QStringLiteral("colorful_dark") ||
+ theme == QStringLiteral("colorful_midnight_blue");
}
} // namespace
diff --git a/src/yuzu/uisettings.cpp b/src/yuzu/uisettings.cpp
index 738c4b2fc..a51175f36 100644
--- a/src/yuzu/uisettings.cpp
+++ b/src/yuzu/uisettings.cpp
@@ -11,6 +11,8 @@ const Themes themes{{
{"Light Colorful", "colorful"},
{"Dark", "qdarkstyle"},
{"Dark Colorful", "colorful_dark"},
+ {"Midnight Blue", "qdarkstyle_midnight_blue"},
+ {"Midnight Blue Colorful", "colorful_midnight_blue"},
}};
Values values = {};
diff --git a/src/yuzu/uisettings.h b/src/yuzu/uisettings.h
index 6cc65736d..ac7b9aef6 100644
--- a/src/yuzu/uisettings.h
+++ b/src/yuzu/uisettings.h
@@ -24,7 +24,7 @@ struct Shortcut {
ContextualShortcut shortcut;
};
-using Themes = std::array<std::pair<const char*, const char*>, 4>;
+using Themes = std::array<std::pair<const char*, const char*>, 6>;
extern const Themes themes;
struct GameDir {