From 8df79a473e1a7e5c79b9b10827985bf3e9501002 Mon Sep 17 00:00:00 2001 From: Denis Dzyubenko Date: Mon, 12 Oct 2009 12:15:35 +0200 Subject: Compile fix after the latest change to gesture api. Forgot to remove the declaration from a source file because of a bad merge. Reviewed-by: Bradley T. Hughes --- src/gui/kernel/qgesture.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/gui/kernel/qgesture.cpp b/src/gui/kernel/qgesture.cpp index cb46695..68cb9cd 100644 --- a/src/gui/kernel/qgesture.cpp +++ b/src/gui/kernel/qgesture.cpp @@ -65,22 +65,15 @@ QT_BEGIN_NAMESPACE \sa QGestureEvent, QGestureRecognizer */ -QGesture::QGesture(Qt::GestureType type, QObject *parent) - : QObject(*new QGesturePrivate, parent) -{ - d_func()->gestureType = type; -} - QGesture::QGesture(QObject *parent) : QObject(*new QGesturePrivate, parent) { d_func()->gestureType = Qt::CustomGesture; } -QGesture::QGesture(QGesturePrivate &dd, Qt::GestureType type, QObject *parent) +QGesture::QGesture(QGesturePrivate &dd, QObject *parent) : QObject(dd, parent) { - d_func()->gestureType = type; } QGesture::~QGesture() -- cgit v0.12