summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_xmlpatterns_api_qxmlquery.cpp
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-10-06 12:19:44 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-10-08 03:29:16 (GMT)
commit000540cfd13bfdb7743fc5c9e931989ba982dbc0 (patch)
treef61f837d77b9d2f57acc0b46087e9c3b7e53155d /doc/src/snippets/code/src_xmlpatterns_api_qxmlquery.cpp
parentb3ccb9f7b7795dab6520e7328c75537d58d08577 (diff)
downloadQt-000540cfd13bfdb7743fc5c9e931989ba982dbc0.zip
Qt-000540cfd13bfdb7743fc5c9e931989ba982dbc0.tar.gz
Qt-000540cfd13bfdb7743fc5c9e931989ba982dbc0.tar.bz2
QGraphicsItem device coordinate cache unefficient in portrait mode
Problem was that we always invalidated the cache whenever the item was rotated. This is however not required for simple rotations such as 90, 180 and 270 degrees. This commit also removes the somewhat arbitrary logic which takes the desktop size into account. We now use the viewport size instead. Auto test included. Task-number: QT-3779 Reviewed-by: yoann (cherry picked from commit e84ab1fee7f44a28ee82793f83b0b27d04d28c09)
Diffstat (limited to 'doc/src/snippets/code/src_xmlpatterns_api_qxmlquery.cpp')
0 files changed, 0 insertions, 0 deletions