Make qml compositor resize to window
authorJørgen Lind <jorgen.lind@nokia.com>
Mon, 16 Apr 2012 06:04:29 +0000 (08:04 +0200)
committerSamuel Rødal <samuel.rodal@nokia.com>
Mon, 16 Apr 2012 06:07:41 +0000 (08:07 +0200)
Change-Id: I014250f968003fa8f9e14e962edcca581ed2e5d8
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
examples/qml-compositor/main.cpp

index 44566dd..93175a4 100644 (file)
@@ -101,8 +101,9 @@ private slots:
     }
 
 protected:
-    void resizeEvent(QResizeEvent *)
+    void resizeEvent(QResizeEvent *event)
     {
+        QQuickView::resizeEvent(event);
         WaylandCompositor::setOutputGeometry(QRect(0, 0, width(), height()));
     }