diff --git a/src/plugins/platforms/drm/drm_output.cpp b/src/plugins/platforms/drm/drm_output.cpp index 612581d35e..8a17a7c325 100644 --- a/src/plugins/platforms/drm/drm_output.cpp +++ b/src/plugins/platforms/drm/drm_output.cpp @@ -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() << ')'; -} diff --git a/src/plugins/platforms/drm/drm_output.h b/src/plugins/platforms/drm/drm_output.h index 30059f82fb..d061dc30ff 100644 --- a/src/plugins/platforms/drm/drm_output.h +++ b/src/plugins/platforms/drm/drm_output.h @@ -177,7 +177,4 @@ private: Q_DECLARE_METATYPE(KWin::DrmOutput*) -QDebug& operator<<(QDebug& stream, const KWin::DrmOutput *); - #endif -