wait_tree: Include Midnight Blue dark themes

This commit is contained in:
Morph 2020-07-19 03:00:34 -04:00
parent 7e01311061
commit d942472cce
1 changed files with 4 additions and 1 deletions

View File

@ -38,7 +38,10 @@ constexpr std::array<std::array<Qt::GlobalColor, 2>, 10> WaitTreeColors{{
bool IsDarkTheme() { bool IsDarkTheme() {
const auto& theme = UISettings::values.theme; 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 } // namespace