[kwin_wayland] Fix Display::outputs
Should return a const-ref not a const copy.
This commit is contained in:
parent
b51fb1f8b9
commit
2ccaa4342a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue