From 11485738aff4e48297722babc7092aa40b443fae Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Sun, 28 Dec 2014 23:02:34 +0100 Subject: [PATCH] Connect Plasma::Theme::themeChanged to ColorScope::colorsChanged Changelog: Fix text not properly updating its color when switching themes (especially dark<-->light) REVIEW: 121726 --- src/declarativeimports/core/colorscope.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/declarativeimports/core/colorscope.cpp b/src/declarativeimports/core/colorscope.cpp index 4115052ac..bc182c9b1 100644 --- a/src/declarativeimports/core/colorscope.cpp +++ b/src/declarativeimports/core/colorscope.cpp @@ -32,6 +32,7 @@ ColorScope::ColorScope(QQuickItem *parent) : QQuickItem(parent), m_group(Plasma::Theme::NormalColorGroup) { + connect(&m_theme, &Plasma::Theme::themeChanged, this, &ColorScope::colorsChanged); } ColorScope::~ColorScope()