summaryrefslogtreecommitdiffstats
path: root/config.tests/x11/xinput/xinput.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-08-26 08:29:11 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2009-08-26 08:39:56 (GMT)
commite692a4044e161c46e6b145d2f3874a0b7b929b4d (patch)
tree4876e38b250d32398a118d71504d5ef018859b68 /config.tests/x11/xinput/xinput.cpp
parent4806174aeff4d7c600f6be20649153bf0e997953 (diff)
downloadQt-e692a4044e161c46e6b145d2f3874a0b7b929b4d.zip
Qt-e692a4044e161c46e6b145d2f3874a0b7b929b4d.tar.gz
Qt-e692a4044e161c46e6b145d2f3874a0b7b929b4d.tar.bz2
Fixed clipping bug in GL 2 paint engine (visible in arthur demos).
QVectorPath::hints() is not a strict bit field, and thus can not be anded with RectangleHint. Instead, QVectorPath::shape() should be directly compared with RectangleHint to check if the vector path is a rectangle or not. In this case the first four points of a regular painter path were treated as a rectangle with dire consequences. Reviewed-by: Tom
Diffstat (limited to 'config.tests/x11/xinput/xinput.cpp')
0 files changed, 0 insertions, 0 deletions