mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-27 07:46:17 +01:00
Allow force dark look for qt6ct (#613)
* Allow force dark for qt6ct-style * Update skinfactory.cpp Co-authored-by: akinokonomi <akinokonomi@example.com> Co-authored-by: martinrotter <martinrotter@users.noreply.github.com>
This commit is contained in:
parent
f0d993451f
commit
3318b96c16
@ -43,7 +43,7 @@ void SkinFactory::loadCurrentSkin() {
|
||||
}
|
||||
|
||||
bool SkinFactory::isStyleGoodForDarkVariant(const QString& style_name) const {
|
||||
return QRegularExpression("^(fusion)|(qt5ct-style)$").match(style_name.toLower()).hasMatch();
|
||||
return QRegularExpression("^(fusion)|(qt[56]ct-style)$").match(style_name.toLower()).hasMatch();
|
||||
}
|
||||
|
||||
void SkinFactory::loadSkinFromData(const Skin& skin) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user