diff options
author | Joni Poikelin <joni.poikelin@qt.io> | 2020-06-08 11:20:38 +0300 |
---|---|---|
committer | Joni Poikelin <joni.poikelin@qt.io> | 2020-06-08 13:07:56 +0300 |
commit | d3fd504b31a531f1bfcd9c3d34991357a36334ce (patch) | |
tree | 49cebb709e497e1c013b3b7144096479fea26806 /src | |
parent | de867d237094b3ba7953aea68a739d13da056a76 (diff) |
Add missing paletteChanged() to setForeground() in Material style
Pick-to: 5.15
Change-Id: I7396885688c6091a948f2865ff716e84f7f5195b
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/imports/controls/material/qquickmaterialstyle.cpp | 1 |
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) |