From 3f7f55d24f8adbfaa6e534734e955fb3c37792ff Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 16 Mar 2015 23:58:40 +0300 Subject: Remove useless includes from .h files. --- src/gui/models/avatarlistmodel.h | 2 -- src/gui/models/beingslistmodel.h | 2 -- src/gui/models/ignorechoiceslistmodel.h | 2 -- src/gui/models/itemsmodel.h | 2 -- src/gui/models/serverslistmodel.h | 5 ----- src/gui/models/shopitems.h | 1 - src/gui/models/skillmodel.h | 2 -- src/gui/models/sortlistmodelinv.h | 2 -- src/gui/models/updatelistmodel.h | 2 -- src/gui/models/userstablemodel.h | 1 - 10 files changed, 21 deletions(-) (limited to 'src/gui/models') diff --git a/src/gui/models/avatarlistmodel.h b/src/gui/models/avatarlistmodel.h index bda7b686e..ec11b40ad 100644 --- a/src/gui/models/avatarlistmodel.h +++ b/src/gui/models/avatarlistmodel.h @@ -26,8 +26,6 @@ #include "gui/models/listmodel.h" -#include - class AvatarListModel notfinal : public ListModel { public: diff --git a/src/gui/models/beingslistmodel.h b/src/gui/models/beingslistmodel.h index 5bedc9756..7e8caced2 100644 --- a/src/gui/models/beingslistmodel.h +++ b/src/gui/models/beingslistmodel.h @@ -26,8 +26,6 @@ #include "utils/dtor.h" -#include - class BeingsListModel final : public AvatarListModel { public: diff --git a/src/gui/models/ignorechoiceslistmodel.h b/src/gui/models/ignorechoiceslistmodel.h index eb230b4ce..c6dea9603 100644 --- a/src/gui/models/ignorechoiceslistmodel.h +++ b/src/gui/models/ignorechoiceslistmodel.h @@ -23,8 +23,6 @@ #ifndef GUI_MODELS_IGNORECHOICESLISTMODEL_H #define GUI_MODELS_IGNORECHOICESLISTMODEL_H -#include "being/playerrelations.h" - #include "gui/models/playerrelationlistmodel.h" #include "being/playerignorestrategy.h" diff --git a/src/gui/models/itemsmodel.h b/src/gui/models/itemsmodel.h index eb026febe..1f88efe9f 100644 --- a/src/gui/models/itemsmodel.h +++ b/src/gui/models/itemsmodel.h @@ -29,8 +29,6 @@ #include "resources/db/itemdb.h" -#include "utils/gettext.h" - #include #include "localconsts.h" diff --git a/src/gui/models/serverslistmodel.h b/src/gui/models/serverslistmodel.h index 743e8da07..864cc70c6 100644 --- a/src/gui/models/serverslistmodel.h +++ b/src/gui/models/serverslistmodel.h @@ -23,8 +23,6 @@ #ifndef GUI_MODELS_SERVERSLISTMODEL_H #define GUI_MODELS_SERVERSLISTMODEL_H -#include "net/serverinfo.h" - #include "gui/gui.h" #include "gui/fonts/font.h" @@ -33,9 +31,6 @@ #include "gui/models/listmodel.h" -#include -#include - /** * Server and Port List Model */ diff --git a/src/gui/models/shopitems.h b/src/gui/models/shopitems.h index d3d4a44fc..880bc4f71 100644 --- a/src/gui/models/shopitems.h +++ b/src/gui/models/shopitems.h @@ -25,7 +25,6 @@ #include "gui/models/listmodel.h" -#include #include #include "localconsts.h" diff --git a/src/gui/models/skillmodel.h b/src/gui/models/skillmodel.h index e4a4949a5..cf5a4fb6d 100644 --- a/src/gui/models/skillmodel.h +++ b/src/gui/models/skillmodel.h @@ -26,8 +26,6 @@ #include "gui/widgets/skillinfo.h" #include "gui/models/listmodel.h" -#include - #include "localconsts.h" class SkillModel final : public ListModel diff --git a/src/gui/models/sortlistmodelinv.h b/src/gui/models/sortlistmodelinv.h index d29ff201c..4711d4607 100644 --- a/src/gui/models/sortlistmodelinv.h +++ b/src/gui/models/sortlistmodelinv.h @@ -26,8 +26,6 @@ #include "utils/gettext.h" -#include - static const char *const SORT_NAME_INVENTORY[6] = { // TRANSLATORS: inventory sort mode diff --git a/src/gui/models/updatelistmodel.h b/src/gui/models/updatelistmodel.h index 1a109f62e..08e00bf63 100644 --- a/src/gui/models/updatelistmodel.h +++ b/src/gui/models/updatelistmodel.h @@ -27,8 +27,6 @@ #include "net/logindata.h" -#include "utils/gettext.h" - #include "localconsts.h" class UpdateListModel final : public ListModel diff --git a/src/gui/models/userstablemodel.h b/src/gui/models/userstablemodel.h index 2f6201024..788fcd2d0 100644 --- a/src/gui/models/userstablemodel.h +++ b/src/gui/models/userstablemodel.h @@ -24,7 +24,6 @@ #include "gui/windows/botcheckerwindow.h" -#include "gui/widgets/button.h" #include "gui/widgets/label.h" #include "gui/models/tablemodel.h" -- cgit v1.2.3-70-g09d2