From 1f4cfccecdb423be66ac1f6eda70e87c382972f8 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Fri, 10 Jan 2020 17:34:15 +0100 Subject: Remove unneeded/unused signal QQuickMultiPointHandler inherits from QQuickPointerDeviceHandler, which inherits from QQuickPointerHandler that already has a marginChanged signal. It's the only place that signal gets actually emitted from. Amends da722fb448f06cf43780e6f857a1ccd9f07176d6 Change-Id: I8ba3129ed69903d6f3cff56401c8a18580af0375 Reviewed-by: Shawn Rutledge --- src/imports/qtquick2/plugins.qmltypes | 1 - src/quick/handlers/qquickmultipointhandler_p.h | 1 - 2 files changed, 2 deletions(-) diff --git a/src/imports/qtquick2/plugins.qmltypes b/src/imports/qtquick2/plugins.qmltypes index 0ba918e34e..fffe03ad73 100644 --- a/src/imports/qtquick2/plugins.qmltypes +++ b/src/imports/qtquick2/plugins.qmltypes @@ -3340,7 +3340,6 @@ Module { Property { name: "minimumPointCount"; type: "int" } Property { name: "maximumPointCount"; type: "int" } Property { name: "centroid"; type: "QQuickHandlerPoint"; isReadonly: true } - Signal { name: "marginChanged" } } Component { name: "QQuickMultiPointTouchArea" diff --git a/src/quick/handlers/qquickmultipointhandler_p.h b/src/quick/handlers/qquickmultipointhandler_p.h index 480f69035b..c0751aa5c5 100644 --- a/src/quick/handlers/qquickmultipointhandler_p.h +++ b/src/quick/handlers/qquickmultipointhandler_p.h @@ -81,7 +81,6 @@ public: signals: void minimumPointCountChanged(); void maximumPointCountChanged(); - void marginChanged(); void centroidChanged(); protected: -- cgit v1.2.3