[kwin_wayland] Fix Display::outputs

Should return a const-ref not a const copy.
This commit is contained in:
Martin Gräßlin 2014-09-03 20:03:13 +02:00
parent b51fb1f8b9
commit 2ccaa4342a

View file

@ -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;
}