From 211d0c00fc5632bf74f9faa91e86651a5446e69b Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Fri, 22 Jul 2022 13:13:14 +0300 Subject: [PATCH] Remove unused main.h includes --- src/backends/drm/drm_output.cpp | 1 - src/backends/wayland/wayland_backend.cpp | 1 - src/backends/x11/windowed/egl_x11_backend.cpp | 1 - src/backends/x11/windowed/scene_qpainter_x11_backend.cpp | 1 - 4 files changed, 4 deletions(-) diff --git a/src/backends/drm/drm_output.cpp b/src/backends/drm/drm_output.cpp index 27921d95ea..8cc203b686 100644 --- a/src/backends/drm/drm_output.cpp +++ b/src/backends/drm/drm_output.cpp @@ -22,7 +22,6 @@ #include "egl_gbm_backend.h" #include "kwinglutils.h" #include "logging.h" -#include "main.h" #include "outputconfiguration.h" #include "renderloop.h" #include "renderloop_p.h" diff --git a/src/backends/wayland/wayland_backend.cpp b/src/backends/wayland/wayland_backend.cpp index 04f8c44ed4..29cdc177fa 100644 --- a/src/backends/wayland/wayland_backend.cpp +++ b/src/backends/wayland/wayland_backend.cpp @@ -24,7 +24,6 @@ #include "dpmsinputeventfilter.h" #include "input.h" #include "keyboard_input.h" -#include "main.h" #include "pointer_input.h" #include "scene.h" #include "wayland_server.h" diff --git a/src/backends/x11/windowed/egl_x11_backend.cpp b/src/backends/x11/windowed/egl_x11_backend.cpp index a618113c46..9c3e446cac 100644 --- a/src/backends/x11/windowed/egl_x11_backend.cpp +++ b/src/backends/x11/windowed/egl_x11_backend.cpp @@ -10,7 +10,6 @@ // kwin #include "basiceglsurfacetexture_internal.h" #include "basiceglsurfacetexture_wayland.h" -#include "main.h" #include "softwarevsyncmonitor.h" #include "x11windowed_backend.h" #include "x11windowed_output.h" diff --git a/src/backends/x11/windowed/scene_qpainter_x11_backend.cpp b/src/backends/x11/windowed/scene_qpainter_x11_backend.cpp index 772e0d497c..a8491e1704 100644 --- a/src/backends/x11/windowed/scene_qpainter_x11_backend.cpp +++ b/src/backends/x11/windowed/scene_qpainter_x11_backend.cpp @@ -7,7 +7,6 @@ SPDX-License-Identifier: GPL-2.0-or-later */ #include "scene_qpainter_x11_backend.h" -#include "main.h" #include "softwarevsyncmonitor.h" #include "x11windowed_backend.h" #include "x11windowed_output.h"