Commit 46fde8e8 authored by Nicolas Fella's avatar Nicolas Fella Committed by Nate Graham
Browse files

[kcms/style] Don't call setNeedsSave when style config changes

The style config is saved already when the dialog closes so enabling the KCM apply button doesn't make sense

The comment suggests that this is done for a reason, but the style preview seems to refresh correctly even with this patch

BUG: 439297


(cherry picked from commit bdebc4d2)
parent aaf9d475
......@@ -225,9 +225,6 @@ void KCMStyle::configure(const QString &title, const QString &styleName, QQuickI
// When user edited a style, assume they want to use it, too
styleSettings()->setWidgetStyle(styleName);
// We call setNeedsSave(true) here to make sure we force style re-creation
setNeedsSave(true);
});
m_styleConfigDialog->show();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment