[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 515903cc33
commit a69228ed0d

View file

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