aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoni Poikelin <joni.poikelin@qt.io>2020-06-08 11:20:38 +0300
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2020-06-08 10:50:17 +0000
commit79b0d9fcc02f2d2a8860bb4cc8a987a39fefda42 (patch)
treeb3d5c0a4e7e9b4c7be97483f0cd696fc22692ac3
parent902db8f33298dab3c9b7ae9733432d1a3e2af8e1 (diff)
Add missing paletteChanged() to setForeground() in Material style
Change-Id: I7396885688c6091a948f2865ff716e84f7f5195b Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> (cherry picked from commit d3fd504b31a531f1bfcd9c3d34991357a36334ce) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/imports/controls/material/qquickmaterialstyle.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/controls/material/qquickmaterialstyle.cpp b/src/imports/controls/material/qquickmaterialstyle.cpp
index 35afeb00..08f47990 100644
--- a/src/imports/controls/material/qquickmaterialstyle.cpp
+++ b/src/imports/controls/material/qquickmaterialstyle.cpp
@@ -661,6 +661,7 @@ void QQuickMaterialStyle::setForeground(const QVariant &var)
m_foreground = foreground;
propagateForeground();
emit foregroundChanged();
+ emit paletteChanged();
}
void QQuickMaterialStyle::inheritForeground(uint foreground, bool custom, bool has)