From: Laszlo Agocs Date: Tue, 19 Jul 2011 09:06:21 +0000 (+0300) Subject: Fix compilation of qml example and enable touch handling. X-Git-Tag: qt-v5.0.0-alpha1~237 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b2069aaf207b601be9ed3712ae076cf213b2eac5;p=profile%2Fivi%2Fqtwayland.git Fix compilation of qml example and enable touch handling. --- diff --git a/examples/qml-compositor/main.cpp b/examples/qml-compositor/main.cpp index ede41b4..066cfee 100644 --- a/examples/qml-compositor/main.cpp +++ b/examples/qml-compositor/main.cpp @@ -48,7 +48,7 @@ #include #include -#include +#include #include #include @@ -89,6 +89,7 @@ private slots: emit windowResized(QVariant::fromValue(static_cast(item))); } else { WaylandSurfaceItem *item = new WaylandSurfaceItem(surface, rootObject()); + item->setTouchEventsEnabled(true); connect(surface, SIGNAL(destroyed(QObject *)), this, SLOT(surfaceDestroyed(QObject *))); emit windowAdded(QVariant::fromValue(static_cast(item))); m_windowMap[surface] = item;