platforms/drm: Drop stream operator for DrmOutput

There is already one that works for all AbstractOutput classes and
properly restores the state of QDebug.
This commit is contained in:
Vlad Zahorodnii 2021-04-01 17:59:24 +03:00
parent dd9a1e5320
commit 7054f6b2d6
2 changed files with 0 additions and 10 deletions

View file

@ -885,10 +885,3 @@ bool DrmOutput::setGammaRamp(const GammaRamp &gamma)
}
}
QDebug& operator<<(QDebug& s, const KWin::DrmOutput *output)
{
if (!output)
return s.nospace() << "DrmOutput()";
return s.nospace() << "DrmOutput(" << output->name() << ", crtc:" << output->crtc() << ", connector:" << output->connector() << ", geometry:" << output->geometry() << ')';
}

View file

@ -177,7 +177,4 @@ private:
Q_DECLARE_METATYPE(KWin::DrmOutput*)
QDebug& operator<<(QDebug& stream, const KWin::DrmOutput *);
#endif