Connect Plasma::Theme::themeChanged to ColorScope::colorsChanged

Changelog: Fix text not properly updating its color when switching themes (especially dark<-->light)

REVIEW: 121726
This commit is contained in:
Kai Uwe Broulik 2014-12-28 23:02:34 +01:00
parent cf6cd3297c
commit 11485738af

View File

@ -32,6 +32,7 @@ ColorScope::ColorScope(QQuickItem *parent)
: QQuickItem(parent), : QQuickItem(parent),
m_group(Plasma::Theme::NormalColorGroup) m_group(Plasma::Theme::NormalColorGroup)
{ {
connect(&m_theme, &Plasma::Theme::themeChanged, this, &ColorScope::colorsChanged);
} }
ColorScope::~ColorScope() ColorScope::~ColorScope()