Fix plasma apps

main
reionwong 4 years ago
parent 4a48b4c046
commit 637f8094e5

@ -44,6 +44,11 @@ extern void updateXdgIconSystemTheme();
void onDarkModeChanged()
{
if (qApp->applicationName() == "systemsettings"
|| qApp->applicationName().contains("plasma")) {
return;
}
QStyle *style = QStyleFactory::create("cutefish");
if (style) {
qApp->setStyle(style);
@ -198,7 +203,11 @@ void PlatformTheme::setQtQuickControlsTheme()
return;
}
if (qApp->applicationName() == "systemsettings") {
if (qApp->applicationName() == "systemsettings"
|| qApp->applicationName().contains("plasma")) {
QQuickStyle::setStyle("Plasma");
QStyle *style = QStyleFactory::create("Breeze");
qApp->setStyle(style);
return;
}

Loading…
Cancel
Save