summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qbrush.h
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-10-06 12:19:44 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-10-06 12:52:40 (GMT)
commite84ab1fee7f44a28ee82793f83b0b27d04d28c09 (patch)
treeab1f1aee76801e659fbb8534ceb5c25b1e844830 /src/gui/painting/qbrush.h
parent9754c200aa325614e05e6b00e3adedbdda1d161a (diff)
downloadQt-e84ab1fee7f44a28ee82793f83b0b27d04d28c09.zip
Qt-e84ab1fee7f44a28ee82793f83b0b27d04d28c09.tar.gz
Qt-e84ab1fee7f44a28ee82793f83b0b27d04d28c09.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
Diffstat (limited to 'src/gui/painting/qbrush.h')
0 files changed, 0 insertions, 0 deletions