wait_tree: Include Midnight Blue dark themes
This commit is contained in:
parent
7e01311061
commit
d942472cce
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue