summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@theqtcompany.com>2015-08-06 13:29:14 +0200
committerJørgen Lind <jorgen.lind@theqtcompany.com>2015-08-28 13:10:32 +0200
commite6a44555c60859fd61a6cc78140a36fa36e7b9f5 (patch)
tree01c1accf6fcedda54d04b14be1212002e7b4fcf2
parentb4f037cff4fc8ece612d8dca034ba784d86b816f (diff)
Use the output for setting screen geometry in qml-compositor example
-rw-r--r--examples/wayland/qml-compositor/main.cpp2
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) {