Theme: Discard pixmap cache when changing theme

Changing theme also changes color scheme making the pixmap cache
invalid for monochrome icons.

CCBUG: 359924
REVIEW: 127226
This commit is contained in:
David Rosca 2016-03-01 00:06:15 +01:00
parent 37fde3974e
commit 60af310cfc

View File

@ -772,7 +772,7 @@ void ThemePrivate::setThemeName(const QString &tempThemeName, bool writeSettings
}
if(emitChanged) {
scheduleThemeChangeNotification(SvgElementsCache);
scheduleThemeChangeNotification(PixmapCache | SvgElementsCache);
}
}