Revision c9969f6...

Go back to digest for 14th July 2013

Bug Fixes in Multimedia

Mark Kretschmann committed changes in [amarok] /:

Always specify ColorGroup when fetching color from QPalette.

This commit fixes a huge number of color inconsistencies that existed
between the inital colors of widgets at Amarok startup, and the colors
that resulted from switching to the same theme at runtime.

It is *crucially important* when using QPalette::color() to always
specify the ColorGroup too, not just the ColorRole. Otherwise whatever
is the currently active group will be used.

File Changes

Modified 4 files
  •   src/PaletteHandler.cpp
  •   src/context/ToolbarView.cpp
  •   src/context/toolbar/AppletToolbarBase.cpp
  •   src/context/applets/analyzer/BlockAnalyzer.cpp
4 files changed in total