summaryrefslogtreecommitdiffstats
path: root/examples/wayland/qml-compositor/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wayland/qml-compositor/main.cpp')
-rw-r--r--examples/wayland/qml-compositor/main.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/wayland/qml-compositor/main.cpp b/examples/wayland/qml-compositor/main.cpp
index ab8589986..6e634563a 100644
--- a/examples/wayland/qml-compositor/main.cpp
+++ b/examples/wayland/qml-compositor/main.cpp
@@ -120,10 +120,7 @@ private slots:
}
void sendCallbacks() {
- if (m_fullscreenSurface)
- sendFrameCallbacks(QList<QWaylandSurface *>() << m_fullscreenSurface);
- else
- sendFrameCallbacks(surfaces());
+ sendFrameCallbacks(surfaces());
}
protected: