diff options
Diffstat (limited to 'examples/touch/pinchzoom/mouse.cpp')
-rw-r--r-- | examples/touch/pinchzoom/mouse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/touch/pinchzoom/mouse.cpp b/examples/touch/pinchzoom/mouse.cpp index 9c5ca86e6a..40e6ccb127 100644 --- a/examples/touch/pinchzoom/mouse.cpp +++ b/examples/touch/pinchzoom/mouse.cpp @@ -158,7 +158,7 @@ void Mouse::timerEvent(QTimerEvent *) foreach (QGraphicsItem *item, dangerMice) { if (item == this) continue; - + QLineF lineToMouse(QPointF(0, 0), mapFromItem(item, 0, 0)); qreal angleToMouse = ::acos(lineToMouse.dx() / lineToMouse.length()); if (lineToMouse.dy() < 0) |