From ae453950c085f92597e077a827cdb6a157c74693 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 13 Aug 2016 02:33:12 +0300 Subject: Remove some useless includes. --- src/gui/models/touchactionmodel.h | 2 +- src/gui/shortcut/spellshortcut.cpp | 1 + src/gui/windows/buyingstoreselldialog.h | 2 -- src/gui/windows/textcommandeditor.cpp | 1 + src/gui/windows/whoisonline.h | 2 -- 5 files changed, 3 insertions(+), 5 deletions(-) (limited to 'src/gui') diff --git a/src/gui/models/touchactionmodel.h b/src/gui/models/touchactionmodel.h index d9cdf6fd0..d6755be16 100644 --- a/src/gui/models/touchactionmodel.h +++ b/src/gui/models/touchactionmodel.h @@ -25,7 +25,7 @@ #include "gui/models/namesmodel.h" -#include "gui/widgets/setupitem.h" +#include class TouchActionsModel final : public NamesModel { diff --git a/src/gui/shortcut/spellshortcut.cpp b/src/gui/shortcut/spellshortcut.cpp index 6b6a842ed..06457972b 100644 --- a/src/gui/shortcut/spellshortcut.cpp +++ b/src/gui/shortcut/spellshortcut.cpp @@ -23,6 +23,7 @@ #include "gui/shortcut/spellshortcut.h" #include "spellmanager.h" +#include "textcommand.h" #include "debug.h" diff --git a/src/gui/windows/buyingstoreselldialog.h b/src/gui/windows/buyingstoreselldialog.h index db197bd22..af59e0a54 100644 --- a/src/gui/windows/buyingstoreselldialog.h +++ b/src/gui/windows/buyingstoreselldialog.h @@ -27,8 +27,6 @@ #include "gui/widgets/selldialog.h" -class Being; - /** * The sell dialog. * diff --git a/src/gui/windows/textcommandeditor.cpp b/src/gui/windows/textcommandeditor.cpp index 2e31ca80f..40405f3e8 100644 --- a/src/gui/windows/textcommandeditor.cpp +++ b/src/gui/windows/textcommandeditor.cpp @@ -23,6 +23,7 @@ #include "gui/windows/textcommandeditor.h" #include "spellmanager.h" +#include "textcommand.h" #include "input/keyboardconfig.h" diff --git a/src/gui/windows/whoisonline.h b/src/gui/windows/whoisonline.h index 6aee4c139..4bc7d0ca2 100644 --- a/src/gui/windows/whoisonline.h +++ b/src/gui/windows/whoisonline.h @@ -33,8 +33,6 @@ class Button; class OnlinePlayer; class ScrollArea; -struct SDL_Thread; - /** * Update progress window GUI * -- cgit v1.2.3-60-g2f50