Minor cleanup: use standard emit syntax.
authorMichael Brasser <michael.brasser@nokia.com>
Wed, 28 Dec 2011 23:27:08 +0000 (09:27 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 30 Dec 2011 06:28:21 +0000 (07:28 +0100)
Change-Id: Ic8a86e78bc16dd091eb03ba74ffdf831eda65a7a
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>

src/quick/items/qquickmultipointtoucharea.cpp

index 78bc31f..461c237 100644 (file)
@@ -477,9 +477,9 @@ void QQuickMultiPointTouchArea::updateTouchData(QEvent *event)
             }
         }
 
-        if (ended) emit(touchPointsReleased(_releasedTouchPoints));
-        if (moved) emit(touchPointsUpdated(_movedTouchPoints));
-        if (started) emit(touchPointsPressed(_pressedTouchPoints));
+        if (ended) emit touchPointsReleased(_releasedTouchPoints);
+        if (moved) emit touchPointsUpdated(_movedTouchPoints);
+        if (started) emit touchPointsPressed(_pressedTouchPoints);
         if (!_touchPoints.isEmpty()) emit touchUpdated(_touchPoints.values());
     }
 }