summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/kernel/qgesture.cpp9
1 files changed, 1 insertions, 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()