From edf9698e23d3960194aa8bf7eef4f6adb1f3cff8 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Wed, 11 May 2022 08:49:08 +0200 Subject: [PATCH] backends/drm: Drop QObject and moc include from layer There's no QObject anymore which causes a MOC warning Signed-off-by: Victoria Fischer --- src/backends/drm/drm_layer.cpp | 2 -- src/backends/drm/drm_layer.h | 1 - 2 files changed, 3 deletions(-) diff --git a/src/backends/drm/drm_layer.cpp b/src/backends/drm/drm_layer.cpp index 0e1d37cf17..a45a9e735f 100644 --- a/src/backends/drm/drm_layer.cpp +++ b/src/backends/drm/drm_layer.cpp @@ -61,5 +61,3 @@ bool DrmOverlayLayer::isVisible() const return m_visible; } } - -#include "drm_layer.moc" diff --git a/src/backends/drm/drm_layer.h b/src/backends/drm/drm_layer.h index 4ce91d7d45..f85a5d90ff 100644 --- a/src/backends/drm/drm_layer.h +++ b/src/backends/drm/drm_layer.h @@ -9,7 +9,6 @@ #pragma once #include "outputlayer.h" -#include #include #include #include