src/hbcore/primitives/hbtoucharea.cpp
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 5 627c4a0fd0e7
--- a/src/hbcore/primitives/hbtoucharea.cpp	Mon Apr 19 14:02:13 2010 +0300
+++ b/src/hbcore/primitives/hbtoucharea.cpp	Mon May 03 12:48:33 2010 +0300
@@ -80,6 +80,7 @@
     Q_D(HbTouchArea);
     d->q_ptr = this;
     setFlag(QGraphicsItem::ItemHasNoContents, !HbTouchAreaPrivate::outlinesEnabled);
+    setSizePolicy( QSizePolicy::Ignored, QSizePolicy::Ignored );
 }
 
 /*!
@@ -177,5 +178,12 @@
     }
 }
 
+/*!
+  Touch areas accept gestures by default
+  */
+void HbTouchArea::gestureEvent(QGestureEvent *event)
+{
+    Q_UNUSED(event);
+}
 
 // end of file