Revision 9b3f350...
Go back to digest for 11th December 2011Bug Fixes in KDE Base
Aaron J. Seigo committed changes in [kdelibs/KDE/4.7] /:
the palette gets updated by all sorts of events on the scene now (incl. reparenting!), so make sure the palette is _really_ changing before marking it as custom
this fixes widget colours not updating with theme changes -> if, for instance, an offscreen widget is created, this results in a reparenting (to null)
and that in turn creates a palette changed event ... which was being intepretted as a custom palette being set and that would disable future updates
due to theme changes.
this also introduces a small helper which computes the palettes once for use by all widgets as a small performance improvement.
File Changes
Added 1 files
- plasma/private/themedwidgetinterface.cpp
Modified 2 files
- plasma/CMakeLists.txt
- plasma/private/themedwidgetinterface_p.h
3 files changed in total