Review Request: propagate the color palette in the stylesheet of the labels

Marco Martin notmart at gmail.com
Mon Apr 19 22:42:26 BST 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/3673/
-----------------------------------------------------------

Review request for kdelibs.


Summary
-------

now, it looks like it could even be a Qt issue (not really sure how it's -supposed- to behave)
but if you set a custom palette on a QLabel that has a stylesheet (even if that stylesheet doesn't redefine the text color) the text color of the new palette isn't applied to it.

this patch makes this explicit by setting the new palette color into the stylesheet directly.


Diffs
-----

  /trunk/KDE/kdelibs/kdeui/widgets/ktitlewidget.cpp 1114109 

Diff: http://reviewboard.kde.org/r/3673/diff


Testing
-------

Code not overly pretty but it seems to work well without side effects.


Thanks,

Marco





More information about the kde-core-devel mailing list