--- a/src/hbcore/gui/hbcontentwidget.cpp Thu Sep 02 20:44:51 2010 +0300
+++ b/src/hbcore/gui/hbcontentwidget.cpp Fri Sep 17 08:32:10 2010 +0300
@@ -56,6 +56,8 @@
{
// Do not defer this, it causes invalidation and updating.
setFocusPolicy(Qt::StrongFocus);
+
+ setAcceptTouchEvents(true);
}
QSizeF HbContentWidget::sizeHint(Qt::SizeHint which, const QSizeF &constraint) const
@@ -284,6 +286,11 @@
// No need for any real polishing.
static_cast<HbWidgetPrivate *>(d_ptr)->polished = true;
return true;
+ } else if (event->type() == QEvent::TouchBegin) {
+ // Accept all touch begin events to get the full Begin..End sequence
+ event->accept();
+ return true;
}
+
return HbWidget::event(event);
}