summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-13 02:33:12 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-13 02:33:12 +0300
commitae453950c085f92597e077a827cdb6a157c74693 (patch)
tree26b8fd845dc4753add9b526a88dea44c60fb718d /src/gui
parent387493ed0772f266dc323816d2e124c32fcae931 (diff)
downloadplus-ae453950c085f92597e077a827cdb6a157c74693.tar.gz
plus-ae453950c085f92597e077a827cdb6a157c74693.tar.bz2
plus-ae453950c085f92597e077a827cdb6a157c74693.tar.xz
plus-ae453950c085f92597e077a827cdb6a157c74693.zip
Remove some useless includes.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/models/touchactionmodel.h2
-rw-r--r--src/gui/shortcut/spellshortcut.cpp1
-rw-r--r--src/gui/windows/buyingstoreselldialog.h2
-rw-r--r--src/gui/windows/textcommandeditor.cpp1
-rw-r--r--src/gui/windows/whoisonline.h2
5 files changed, 3 insertions, 5 deletions
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 <map>
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
*