|
|
|
|
@ -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;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|