summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2012-04-16 08:04:29 +0200
committerSamuel Rødal <samuel.rodal@nokia.com>2012-04-16 08:07:41 +0200
commit5cfee36a6fde22578f7192f317683cebb82beeca (patch)
tree3f81e0b760bb01db066984377d785db40e29028c /examples
parent2c5ac464f94e8d6c82d0e397cdc0a8854618ada8 (diff)
Make qml compositor resize to window
Change-Id: I014250f968003fa8f9e14e962edcca581ed2e5d8 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/qml-compositor/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/qml-compositor/main.cpp b/examples/qml-compositor/main.cpp
index 44566dd9f..93175a487 100644
--- a/examples/qml-compositor/main.cpp
+++ b/examples/qml-compositor/main.cpp
@@ -101,8 +101,9 @@ private slots:
}
protected:
- void resizeEvent(QResizeEvent *)
+ void resizeEvent(QResizeEvent *event)
{
+ QQuickView::resizeEvent(event);
WaylandCompositor::setOutputGeometry(QRect(0, 0, width(), height()));
}