Revision 908703

Go back to digest for 11th January 2009

Features in Multimedia

Mark Kretschmann committed changes in /trunk/extragear/multimedia/amarok/src/playlist/view/listview:

Patch by Thomas Lübking:

1) support for "autosizes" (setting "size" attribute to <= 0) - i'd suggest to make this the default behaviour, but don't mind at all
2) support for custom string elements (i.e. if the "value" attribute does not refer to a valid tag) to allow stuff like
<Song>" by "<Artist>" on "<Album>

Also i think there was a bug in the padding handling (but i'm not sure) and i removed (i think) redundant QFont(MetricsF) actions (and use the option.font instead of QFont())

Thanks for the patch, Thomas! I should have run this by Nikolaj first (he's the author of the new playlist rendering stuff), but the patch looked good to me, so I went ahead.

File Changes

Modified 4 files
  • /trunk/extragear/multimedia/amarok/src/playlist/view/listview
  •   /LayoutManager.cpp
  •   /PrettyItemConfig.cpp
  •   /PrettyItemConfig.h
  •   /PrettyItemDelegate.cpp
4 files changed in total