diff options
author | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-08-06 13:29:14 +0200 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-08-28 13:10:32 +0200 |
commit | e6a44555c60859fd61a6cc78140a36fa36e7b9f5 (patch) | |
tree | 01c1accf6fcedda54d04b14be1212002e7b4fcf2 | |
parent | b4f037cff4fc8ece612d8dca034ba784d86b816f (diff) |
Use the output for setting screen geometry in qml-compositor example
Change-Id: Ibad545135a44c7a7390d96eb582265e5749fea95
-rw-r--r-- | examples/wayland/qml-compositor/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/wayland/qml-compositor/main.cpp b/examples/wayland/qml-compositor/main.cpp index 331679b37..f8a2116cd 100644 --- a/examples/wayland/qml-compositor/main.cpp +++ b/examples/wayland/qml-compositor/main.cpp @@ -141,7 +141,7 @@ protected: void resizeEvent(QResizeEvent *event) { QQuickView::resizeEvent(event); - QWaylandCompositor::setOutputGeometry(QRect(0, 0, width(), height())); + m_output->setGeometry(QRect(0, 0, width(), height())); } void surfaceCreated(QWaylandSurface *surface) { |