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:
parent
cf6cd3297c
commit
11485738af
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user