summaryrefslogtreecommitdiffstats
path: root/config.tests/unix
diff options
context:
space:
mode:
authorBjoern Erik Nilsen <bjorn.nilsen@nokia.com>2009-04-29 14:42:07 (GMT)
committerBjoern Erik Nilsen <bjorn.nilsen@nokia.com>2009-04-29 15:43:57 (GMT)
commit5a9623cb54c598aa4226883076fb413ef88215e5 (patch)
tree05ef92a0b9409d3eb93567d21c3c07baa88987ec /config.tests/unix
parent48d9f395a2d2d0e9e4ff61b69c8c7e725aa3e3fd (diff)
downloadQt-5a9623cb54c598aa4226883076fb413ef88215e5.zip
Qt-5a9623cb54c598aa4226883076fb413ef88215e5.tar.gz
Qt-5a9623cb54c598aa4226883076fb413ef88215e5.tar.bz2
Wrong clip in QWidget::render(QPainter *, ...) when using Qt::(Replace|No)Clip.
The problem was that we didn't take the painter's clip into account when setting the system viewport ("hard clip"). We only used the system clip, but we have to use system clip + painter clip, which is the current engine clip. Unfortunately, we have to calculate it again since there's no cross-platform way of retrieving it. This was only a problem with Qt::(Replace|No)Clip, since we in all other cases combine the old clip with the new one. (Uber cool) auto test included. Task-number: 250482 Reviewed-by: Samuel
Diffstat (limited to 'config.tests/unix')
0 files changed, 0 insertions, 0 deletions