[kwin_wayland] Fix Display::outputs
Should return a const-ref not a const copy.
This commit is contained in:
parent
515903cc33
commit
a69228ed0d
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ public:
|
||||||
|
|
||||||
OutputInterface *createOutput(QObject *parent = nullptr);
|
OutputInterface *createOutput(QObject *parent = nullptr);
|
||||||
void removeOutput(OutputInterface *output);
|
void removeOutput(OutputInterface *output);
|
||||||
const QList<OutputInterface*> outputs() const {
|
const QList<OutputInterface*> &outputs() const {
|
||||||
return m_outputs;
|
return m_outputs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue