aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals.cid@kdab.com>2020-01-10 17:34:15 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2020-01-13 08:06:05 +0000
commit1f4cfccecdb423be66ac1f6eda70e87c382972f8 (patch)
tree8c39e8e2dc9c47b062437c14b06aa28c0bffa582
parent08e0742699286b47d7ea9a1cbc49b9f91130135a (diff)
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 <shawn.rutledge@qt.io>
-rw-r--r--src/imports/qtquick2/plugins.qmltypes1
-rw-r--r--src/quick/handlers/qquickmultipointhandler_p.h1
2 files changed, 0 insertions, 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: