--- 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