plasma: erase render cache on palette change

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-02-01 21:25:42 +02:00
parent 7c3acec445
commit ab7d1d326a

View file

@ -460,8 +460,8 @@ void SvgPrivate::checkColorHints()
{ {
// check to see if we are using colors, but the theme isn't being used or isn't providing // check to see if we are using colors, but the theme isn't being used or isn't providing
// a colorscheme // a colorscheme
QObject::disconnect(KGlobalSettings::self(), SIGNAL(kdisplayPaletteChanged()), QObject::connect(KGlobalSettings::self(), SIGNAL(kdisplayPaletteChanged()),
q, SLOT(colorsChanged())); q, SLOT(colorsChanged()));
} }
//Following two are utility functions to snap rendered elements to the pixel grid //Following two are utility functions to snap rendered elements to the pixel grid