summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-10-12 10:15:35 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-10-12 10:17:56 (GMT)
commit8df79a473e1a7e5c79b9b10827985bf3e9501002 (patch)
treecbc60671798f82d545e15444643f13bccbd844be /src/gui
parentf93ade8e1976ea605fe78c4c663ff8f8fa41d323 (diff)
downloadQt-8df79a473e1a7e5c79b9b10827985bf3e9501002.zip
Qt-8df79a473e1a7e5c79b9b10827985bf3e9501002.tar.gz
Qt-8df79a473e1a7e5c79b9b10827985bf3e9501002.tar.bz2
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
Diffstat (limited to 'src/gui')
-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()