From d3fd504b31a531f1bfcd9c3d34991357a36334ce Mon Sep 17 00:00:00 2001 From: Joni Poikelin Date: Mon, 8 Jun 2020 11:20:38 +0300 Subject: Add missing paletteChanged() to setForeground() in Material style Pick-to: 5.15 Change-Id: I7396885688c6091a948f2865ff716e84f7f5195b Reviewed-by: Mitch Curtis --- src/imports/controls/material/qquickmaterialstyle.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/imports/controls/material/qquickmaterialstyle.cpp') 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) -- cgit v1.2.3