From cc6b5491129db24227273fa9d44bbd183834bafb Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Mon, 18 Apr 2022 17:33:44 +0200 Subject: [PATCH] backends/drm: drop QPainterLayer class It's unused --- src/backends/drm/drm_qpainter_layer.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/backends/drm/drm_qpainter_layer.h b/src/backends/drm/drm_qpainter_layer.h index 8108676bc8..8089b61de5 100644 --- a/src/backends/drm/drm_qpainter_layer.h +++ b/src/backends/drm/drm_qpainter_layer.h @@ -20,13 +20,7 @@ class DrmVirtualOutput; class DrmQPainterBackend; class DrmDumbBuffer; -class QPainterLayer -{ -public: - virtual ~QPainterLayer() = default; -}; - -class DrmQPainterLayer : public DrmPipelineLayer, public QPainterLayer +class DrmQPainterLayer : public DrmPipelineLayer { public: DrmQPainterLayer(DrmQPainterBackend *backend, DrmPipeline *pipeline); @@ -44,7 +38,7 @@ private: QRegion m_currentDamage; }; -class DrmVirtualQPainterLayer : public DrmOutputLayer, public QPainterLayer +class DrmVirtualQPainterLayer : public DrmOutputLayer { public: DrmVirtualQPainterLayer(DrmVirtualOutput *output);