Revision 826812

Go back to digest for 6th July 2008

Other in Multimedia

Nikolaj Hald Nielsen committed changes in /trunk/extragear/multimedia/amarok/src:

HACK ALERT!
Make the CollectionTreeView correctly update itself on palette changes.

For some odd reason that has now eluded me for several hours, catching the change event and looking for palette changes yielded the _old_ palette, if it even bothered to catch the event at all...

This is a hackish workaround ( making MainWindow emit a signal with the new pallete on any changes ) but it works. Actually it might be worth connecting to this signal elsewhere as the method that is currently used in several places uses Qt3 support code.

File Changes

Modified 5 files
  • /trunk/extragear/multimedia/amarok/src
  •   /MainWindow.cpp
  •   /MainWindow.h
  •   /collectionbrowser/CollectionTreeView.cpp
  •   /collectionbrowser/CollectionTreeView.h
  •   /collectionbrowser/CollectionWidget.cpp
5 files changed in total