Commit 7054f6b2 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

platforms/drm: Drop stream operator for DrmOutput

There is already one that works for all AbstractOutput classes and
properly restores the state of QDebug.
parent dd9a1e53
......@@ -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() << ')';
}
......@@ -177,7 +177,4 @@ private:
Q_DECLARE_METATYPE(KWin::DrmOutput*)
QDebug& operator<<(QDebug& stream, const KWin::DrmOutput *);
#endif
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment