diff options
author | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-09-03 14:12:50 +0200 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-09-04 16:12:47 +0200 |
commit | cc4fe466a1c7dfba937a0926b6f94900ce512942 (patch) | |
tree | 4374b7bb2a791066f6b38a2f5c58764a58f8f654 /examples/wayland/server-buffer | |
parent | 82d713d89638ebd49ed87bf5f66362a93607efd8 (diff) |
Rename primary(Output|OutputSpace) to default(Output|OutputSpace)
Change-Id: I0bbe6dd6bd8e9f6972cc88b832029ac98aa2af49
Diffstat (limited to 'examples/wayland/server-buffer')
-rw-r--r-- | examples/wayland/server-buffer/compositor/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/wayland/server-buffer/compositor/main.cpp b/examples/wayland/server-buffer/compositor/main.cpp index 36a9ca9c9..ecec5c8ca 100644 --- a/examples/wayland/server-buffer/compositor/main.cpp +++ b/examples/wayland/server-buffer/compositor/main.cpp @@ -86,7 +86,7 @@ public: m_view.setResizeMode(QQuickView::SizeRootObjectToView); m_view.setColor(Qt::black); m_view.create(); - m_output = new QWaylandQuickOutput(primaryOutputSpace(), &m_view); + m_output = new QWaylandQuickOutput(defaultOutputSpace(), &m_view); connect(&m_view, &QQuickView::afterRendering, this, &QmlCompositor::sendCallbacks); @@ -214,7 +214,7 @@ private slots: protected: void sizeAdjusted() { - primaryOutputSpace()->primaryOutput()->setGeometry(QRect(QPoint(0, 0), m_view.size())); + defaultOutput()->setGeometry(QRect(QPoint(0, 0), m_view.size())); } void onSurfaceCreated(QWaylandSurface *surface) { |