diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-10-06 12:19:44 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-10-06 12:52:40 (GMT) |
commit | e84ab1fee7f44a28ee82793f83b0b27d04d28c09 (patch) | |
tree | ab1f1aee76801e659fbb8534ceb5c25b1e844830 /src/network/bearer/qbearerplugin_p.h | |
parent | 9754c200aa325614e05e6b00e3adedbdda1d161a (diff) | |
download | Qt-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/network/bearer/qbearerplugin_p.h')
0 files changed, 0 insertions, 0 deletions