aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/handlers/qquickdraghandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/handlers/qquickdraghandler.cpp')
-rw-r--r--src/quick/handlers/qquickdraghandler.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/quick/handlers/qquickdraghandler.cpp b/src/quick/handlers/qquickdraghandler.cpp
index 7c175b472b..d9f0e477d1 100644
--- a/src/quick/handlers/qquickdraghandler.cpp
+++ b/src/quick/handlers/qquickdraghandler.cpp
@@ -88,15 +88,11 @@ Q_LOGGING_CATEGORY(lcDragHandler, "qt.quick.handler.drag")
\sa Drag, MouseArea
*/
-QQuickDragHandler::QQuickDragHandler(QObject *parent)
+QQuickDragHandler::QQuickDragHandler(QQuickItem *parent)
: QQuickMultiPointHandler(parent, 1, 1)
{
}
-QQuickDragHandler::~QQuickDragHandler()
-{
-}
-
bool QQuickDragHandler::targetContainsCentroid()
{
Q_ASSERT(parentItem() && target());