summaryrefslogtreecommitdiffstats
path: root/examples/qml-compositor
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qml-compositor')
-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()));
}