summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2010-09-23 15:31:39 +0200
committerJoerg Bornemann <joerg.bornemann@nokia.com>2010-09-23 15:33:21 +0200
commitc188e5dfae48c5944703438294f421f5a5bbadd3 (patch)
treeb1329330eaecf02190de56a2c4b18b606430b2d1
parentf1054420854b0a4a04b7c62122e0360fe9156204 (diff)
fix flickering on resize on Mac
Task-number: QTSIM-85 Reviewed-by: ckamm
-rw-r--r--src/other/deviceitem.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/other/deviceitem.cpp b/src/other/deviceitem.cpp
index 6d41ae7..db40c14 100644
--- a/src/other/deviceitem.cpp
+++ b/src/other/deviceitem.cpp
@@ -300,7 +300,6 @@ void DeviceItem::newViewSize()
void DeviceItem::newWindowSize()
{
int rotationSide = rotationSideLength() * scale();
- setPos(rotationSide/2, rotationSide/2);
emit sizeChanged(QSize(rotationSide, rotationSide));
}