summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-20 13:16:10 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-21 00:02:09 +0300
commit51ced20ccd462ca94298e3d574cb2c69457e601f (patch)
tree6482fac3a03bc608c6889efe1c041fa163f8f0fc /src
parent2b3d2c3dd9d67b40a7f77963ccbe9dc962a8a5da (diff)
downloadplus-51ced20ccd462ca94298e3d574cb2c69457e601f.tar.gz
plus-51ced20ccd462ca94298e3d574cb2c69457e601f.tar.bz2
plus-51ced20ccd462ca94298e3d574cb2c69457e601f.tar.xz
plus-51ced20ccd462ca94298e3d574cb2c69457e601f.zip
improve players setup tab.
remove useless includes from setup tabs.
Diffstat (limited to 'src')
-rw-r--r--src/gui/setup_audio.h2
-rw-r--r--src/gui/setup_chat.h2
-rw-r--r--src/gui/setup_colors.h1
-rw-r--r--src/gui/setup_input.h2
-rw-r--r--src/gui/setup_joystick.h2
-rw-r--r--src/gui/setup_other.h2
-rw-r--r--src/gui/setup_perfomance.h2
-rw-r--r--src/gui/setup_players.cpp5
-rw-r--r--src/gui/setup_players.h4
-rw-r--r--src/gui/setup_relations.h2
-rw-r--r--src/gui/setup_theme.h2
-rw-r--r--src/gui/setup_touch.h2
-rw-r--r--src/gui/setup_video.h1
13 files changed, 0 insertions, 29 deletions
diff --git a/src/gui/setup_audio.h b/src/gui/setup_audio.h
index 4ddd17ea4..1100228b2 100644
--- a/src/gui/setup_audio.h
+++ b/src/gui/setup_audio.h
@@ -27,8 +27,6 @@
#include "gui/widgets/setupitem.h"
-#include <guichan/actionlistener.hpp>
-
class Setup_Audio final : public SetupTabScroll
{
public:
diff --git a/src/gui/setup_chat.h b/src/gui/setup_chat.h
index 4251ebe17..03b33bc49 100644
--- a/src/gui/setup_chat.h
+++ b/src/gui/setup_chat.h
@@ -25,8 +25,6 @@
#include "gui/widgets/setuptabscroll.h"
-#include <guichan/actionlistener.hpp>
-
class IntTextField;
class EditDialog;
diff --git a/src/gui/setup_colors.h b/src/gui/setup_colors.h
index bb743469c..e75b47287 100644
--- a/src/gui/setup_colors.h
+++ b/src/gui/setup_colors.h
@@ -24,7 +24,6 @@
#include "gui/widgets/setuptab.h"
-#include <guichan/actionlistener.hpp>
#include <guichan/selectionlistener.hpp>
#include <string>
diff --git a/src/gui/setup_input.h b/src/gui/setup_input.h
index bd5dd4654..69279ff7b 100644
--- a/src/gui/setup_input.h
+++ b/src/gui/setup_input.h
@@ -26,8 +26,6 @@
#include "gui/widgets/setuptab.h"
-#include <guichan/actionlistener.hpp>
-
#include <string>
class Button;
diff --git a/src/gui/setup_joystick.h b/src/gui/setup_joystick.h
index 04a9310f6..f5c90496a 100644
--- a/src/gui/setup_joystick.h
+++ b/src/gui/setup_joystick.h
@@ -25,8 +25,6 @@
#include "gui/widgets/setuptab.h"
-#include <guichan/actionlistener.hpp>
-
class Button;
class CheckBox;
class DropDown;
diff --git a/src/gui/setup_other.h b/src/gui/setup_other.h
index e403ce424..315da1bcd 100644
--- a/src/gui/setup_other.h
+++ b/src/gui/setup_other.h
@@ -25,8 +25,6 @@
#include "gui/widgets/setupitem.h"
-#include <guichan/actionlistener.hpp>
-
class EditDialog;
class NamesModel;
class TextField;
diff --git a/src/gui/setup_perfomance.h b/src/gui/setup_perfomance.h
index 5b2b73281..56468a257 100644
--- a/src/gui/setup_perfomance.h
+++ b/src/gui/setup_perfomance.h
@@ -25,8 +25,6 @@
#include "gui/widgets/setuptabscroll.h"
-#include <guichan/actionlistener.hpp>
-
class EditDialog;
class IntTextField;
class NamesModel;
diff --git a/src/gui/setup_players.cpp b/src/gui/setup_players.cpp
index 3834703f5..fb7b9861d 100644
--- a/src/gui/setup_players.cpp
+++ b/src/gui/setup_players.cpp
@@ -109,8 +109,3 @@ Setup_Players::Setup_Players(const Widget2 *const widget) :
setDimension(gcn::Rectangle(0, 0, 550, 350));
}
-
-void Setup_Players::apply()
-{
- SetupTabScroll::apply();
-}
diff --git a/src/gui/setup_players.h b/src/gui/setup_players.h
index 8f9c6a4ef..8cad4a5a4 100644
--- a/src/gui/setup_players.h
+++ b/src/gui/setup_players.h
@@ -25,8 +25,6 @@
#include "gui/widgets/setuptabscroll.h"
-#include <guichan/actionlistener.hpp>
-
class IntTextField;
class EditDialog;
@@ -36,8 +34,6 @@ class Setup_Players final : public SetupTabScroll
explicit Setup_Players(const Widget2 *const widget);
A_DELETE_COPY(Setup_Players)
-
- void apply();
};
#endif
diff --git a/src/gui/setup_relations.h b/src/gui/setup_relations.h
index 3ed9e7189..2c912e04a 100644
--- a/src/gui/setup_relations.h
+++ b/src/gui/setup_relations.h
@@ -27,8 +27,6 @@
#include "gui/widgets/setuptab.h"
-#include <guichan/actionlistener.hpp>
-
class Button;
class CheckBox;
class DropDown;
diff --git a/src/gui/setup_theme.h b/src/gui/setup_theme.h
index d5f50afbb..6b7358b75 100644
--- a/src/gui/setup_theme.h
+++ b/src/gui/setup_theme.h
@@ -25,8 +25,6 @@
#include "gui/widgets/setuptab.h"
-#include <guichan/actionlistener.hpp>
-
class Button;
class DropDown;
class EditDialog;
diff --git a/src/gui/setup_touch.h b/src/gui/setup_touch.h
index e15e9de4d..bfb73b257 100644
--- a/src/gui/setup_touch.h
+++ b/src/gui/setup_touch.h
@@ -23,8 +23,6 @@
#include "gui/widgets/setuptouchitem.h"
-#include <guichan/actionlistener.hpp>
-
class EditDialog;
class TextField;
diff --git a/src/gui/setup_video.h b/src/gui/setup_video.h
index 754227a2f..45fcd65cf 100644
--- a/src/gui/setup_video.h
+++ b/src/gui/setup_video.h
@@ -27,7 +27,6 @@
#include "gui/widgets/setuptab.h"
-#include <guichan/actionlistener.hpp>
#include <guichan/keylistener.hpp>
class Button;