From cf6a4d5bfe1df8314395685a4f1167e4aa6898e5 Mon Sep 17 00:00:00 2001 From: James Robertson Date: Wed, 30 Nov 2022 14:03:03 -0600 Subject: [PATCH] Remove extraneous includes and class definitions from minimap_panel --- client/minimap_panel.cpp | 11 +---------- client/minimap_panel.h | 13 +------------ 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/client/minimap_panel.cpp b/client/minimap_panel.cpp index 874ed57131..3de8f84377 100644 --- a/client/minimap_panel.cpp +++ b/client/minimap_panel.cpp @@ -1,23 +1,14 @@ /* * This file is part of Freeciv21. * SPDX-FileCopyrightText: 2022 Louis Moureaux + * SPDX-FileCopyrightText: 2022 James Robertson * * SPDX-License-Identifier: GPL-3.0-or-later */ #include "minimap_panel.h" -// Qt -#include -#include -#include -#include -#include -#include -#include - // client -#include "client_main.h" #include "icons.h" #include "mapview.h" #include "page_game.h" diff --git a/client/minimap_panel.h b/client/minimap_panel.h index b85c2734f9..9afe7d170a 100644 --- a/client/minimap_panel.h +++ b/client/minimap_panel.h @@ -1,6 +1,7 @@ /* * This file is part of Freeciv21. * SPDX-FileCopyrightText: 2022 Louis Moureaux + * SPDX-FileCopyrightText: 2022 James Robertson * * SPDX-License-Identifier: GPL-3.0-or-later */ @@ -11,18 +12,6 @@ // qt-client is one true king #include "widgetdecorations.h" -class QEvent; -class QGridLayout; -class QItemSelection; -class QListWidget; -class QMouseEvent; -class QObject; -class QPaintEvent; -class QPainter; -class QPushButton; -class QPixmap; -class QResizeEvent; - class map_view; /**