Skip to content

Commit

Permalink
Remove extraneous includes and class definitions from minimap_panel
Browse files Browse the repository at this point in the history
  • Loading branch information
jwrober committed Nov 30, 2022
1 parent 38944a2 commit cf6a4d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
11 changes: 1 addition & 10 deletions client/minimap_panel.cpp
Original file line number Diff line number Diff line change
@@ -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 <QApplication>
#include <QGridLayout>
#include <QHeaderView>
#include <QListWidget>
#include <QMouseEvent>
#include <QPainter>
#include <QPushButton>

// client
#include "client_main.h"
#include "icons.h"
#include "mapview.h"
#include "page_game.h"
Expand Down
13 changes: 1 addition & 12 deletions client/minimap_panel.h
Original file line number Diff line number Diff line change
@@ -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
*/
Expand All @@ -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;

/**
Expand Down

0 comments on commit cf6a4d5

Please sign in to comment.