[Kde-hardware-devel] Review Request: fix the rect passed to kcapacitybar paint method

Hugo Pereira Da Costa hugo at oxygen-icons.org
Thu Jan 12 19:06:08 UTC 2012


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

(Updated Jan. 12, 2012, 7:06 p.m.)


Review request for Dolphin, kdelibs and Solid.


Changes
-------

Changed rect() into contentsRect(), as advised by Thomas


Description
-------

fixes the rect passed to paint method so that it matches the widget rect and not the event (clip) rect, since the former is what's expected by widget styles.


This addresses bug 290879.
    http://bugs.kde.org/show_bug.cgi?id=290879


Diffs (updated)
-----

  kdeui/widgets/kcapacitybar.cpp 6e63c3f 

Diff: http://git.reviewboard.kde.org/r/103669/diff/diff


Testing
-------

Fixes bug above.
No regression with other styles.


Thanks,

Hugo Pereira Da Costa

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20120112/6a169dcc/attachment.html>


More information about the Kde-hardware-devel mailing list