Commit 2ccaa434 authored by Martin Flöser's avatar Martin Flöser
Browse files

[kwin_wayland] Fix Display::outputs

Should return a const-ref not a const copy.
parent b51fb1f8
......@@ -66,7 +66,7 @@ public:
OutputInterface *createOutput(QObject *parent = nullptr);
void removeOutput(OutputInterface *output);
const QList<OutputInterface*> outputs() const {
const QList<OutputInterface*> &outputs() const {
return m_outputs;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment