diff --git a/wayland_server/display.h b/wayland_server/display.h index 7298288679..28ac0bcbea 100644 --- a/wayland_server/display.h +++ b/wayland_server/display.h @@ -66,7 +66,7 @@ public: OutputInterface *createOutput(QObject *parent = nullptr); void removeOutput(OutputInterface *output); - const QList outputs() const { + const QList &outputs() const { return m_outputs; }