src/hbcore/gestures/hbtapandholdgesture.cpp
changeset 30 80e4d18b72f5
parent 6 c3690ec91ef8
--- a/src/hbcore/gestures/hbtapandholdgesture.cpp	Fri Sep 17 08:32:10 2010 +0300
+++ b/src/hbcore/gestures/hbtapandholdgesture.cpp	Mon Oct 04 00:38:12 2010 +0300
@@ -23,9 +23,8 @@
 **
 ****************************************************************************/
 
+#include "hbtapandholdgesture.h"
 #include "hbgestures_p.h"
-#include "hbtapandholdgesture_p.h"
-#include "hbtapandholdgesture.h"
 
 #include <QObject>
 
@@ -121,9 +120,9 @@
 */
 HbTapAndHoldGesture::HbTapAndHoldGesture(QObject* parent)
     :
-    QTapAndHoldGesture(parent)
+    QTapAndHoldGesture(parent),
+    priv(new HbTapAndHoldGesturePrivate)
 {
-    priv = new HbTapAndHoldGesturePrivate(this);
 }
 
 /*!
@@ -136,7 +135,7 @@
     QTapAndHoldGesture(parent),
     priv(dd)
 {
-    priv->q_ptr = this;
+    hbWarning("Shared private not supported for tap-and-hold");
 }
 
 /*!