diff options
author | Rainer Keller <rainer.keller@nokia.com> | 2011-08-24 08:38:27 +0200 |
---|---|---|
committer | Rainer Keller <rainer.keller@nokia.com> | 2011-08-24 08:38:27 +0200 |
commit | 86e86a62bf311aec2e2f65f9dd6679038fb74794 (patch) | |
tree | bb8a9b84624444eceb247f2908738d982e4631cd | |
parent | cc238603bbc34cb3298fcd663c1a7c9895828583 (diff) |
Always stop animation before starting a new one1.2.0
Task-number: QTSIM-207
Reviewed-by: owolff
-rw-r--r-- | src/other/deviceitem.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/other/deviceitem.cpp b/src/other/deviceitem.cpp index 5a4ca90..9bee2da 100644 --- a/src/other/deviceitem.cpp +++ b/src/other/deviceitem.cpp @@ -286,6 +286,8 @@ void DeviceItem::updateScreenOrientation() void DeviceItem::initiateRotate() { + mDefaultAnimation->stop(); + // set the view to the maximum size int rotationSide = rotationSideLength() * scale(); setPos(rotationSide/2, rotationSide/2); |