diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-07-13 19:43:12 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-07-15 09:28:30 (GMT) |
commit | a72c30020bdadbe0d82e583e17acd25715604f7b (patch) | |
tree | ce82e9ace289d9cb22a09d847497b01222ad1a1c /dist/changes-2.2.0 | |
parent | e9ded3b600256686e4a735e365988f317a51db03 (diff) | |
download | Qt-a72c30020bdadbe0d82e583e17acd25715604f7b.zip Qt-a72c30020bdadbe0d82e583e17acd25715604f7b.tar.gz Qt-a72c30020bdadbe0d82e583e17acd25715604f7b.tar.bz2 |
Bad drawing of styled viewports within QAbstractScrollArea
This patch includes lots of refactoring, but the real problem was that
in QWidgetPrivate::paintBackground we call drawPrimitive(PE_Widget) with
a potentialy translated painter, but the opt.rect is not translated.
When having a scroll area the calling function used to translated the
painter and then pass the offset around to rectify. but drawPrimitive
cannot rectify it.
The solution is not to translate the painter but use other way to
rectify the brush
Task-number: 257517
Reviewed-by: bnilsen
Diffstat (limited to 'dist/changes-2.2.0')
0 files changed, 0 insertions, 0 deletions