diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2012-04-16 08:04:29 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2012-04-16 08:07:41 +0200 |
commit | 5cfee36a6fde22578f7192f317683cebb82beeca (patch) | |
tree | 3f81e0b760bb01db066984377d785db40e29028c /examples | |
parent | 2c5ac464f94e8d6c82d0e397cdc0a8854618ada8 (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.cpp | 3 |
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())); } |