summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-16 16:06:17 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-16 16:06:17 +0300
commit1b28203031aec74f7a11a46fb5267f642ae5fab2 (patch)
treeef907d1a54132db7704e10a633925182edbe2fb5 /src/gui/windows
parent0977134ffdad9ea0e79106fc633ebafd18209765 (diff)
downloadplus-1b28203031aec74f7a11a46fb5267f642ae5fab2.tar.gz
plus-1b28203031aec74f7a11a46fb5267f642ae5fab2.tar.bz2
plus-1b28203031aec74f7a11a46fb5267f642ae5fab2.tar.xz
plus-1b28203031aec74f7a11a46fb5267f642ae5fab2.zip
Fix code style.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/charselectdialog.cpp1
-rw-r--r--src/gui/windows/ministatuswindow.cpp4
-rw-r--r--src/gui/windows/skilldialog.cpp1
-rw-r--r--src/gui/windows/statuswindow.cpp1
4 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp
index 65d7d19f6..ca15caf97 100644
--- a/src/gui/windows/charselectdialog.cpp
+++ b/src/gui/windows/charselectdialog.cpp
@@ -48,7 +48,6 @@
#include "net/character.h"
#include "net/charserverhandler.h"
#include "net/logindata.h"
-#include "net/loginhandler.h"
#include "net/serverfeatures.h"
#include "debug.h"
diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp
index 09754420f..37e6bccc9 100644
--- a/src/gui/windows/ministatuswindow.cpp
+++ b/src/gui/windows/ministatuswindow.cpp
@@ -42,7 +42,6 @@
#include "gui/widgets/progressbar.h"
#include "net/playerhandler.h"
-#include "net/gamehandler.h"
#include "utils/delete2.h"
#include "utils/dtor.h"
@@ -79,7 +78,8 @@ MiniStatusWindow::MiniStatusWindow() :
? "mpprogressbar_fill.xml" : "nompprogressbar_fill.xml",
// TRANSLATORS: status bar name
"mp bar", _("mana bar"))),
- mXpBar(createBar(0, 100, 0, ThemeColorId::XP_BAR, ProgressColorId::PROG_EXP,
+ mXpBar(createBar(0, 100, 0,
+ ThemeColorId::XP_BAR, ProgressColorId::PROG_EXP,
"xpprogressbar.xml", "xpprogressbar_fill.xml",
// TRANSLATORS: status bar name
"xp bar", _("experience bar"))),
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp
index 7a46cf313..36b72d051 100644
--- a/src/gui/windows/skilldialog.cpp
+++ b/src/gui/windows/skilldialog.cpp
@@ -34,6 +34,7 @@
#include "gui/windows/shortcutwindow.h"
#include "gui/widgets/button.h"
+#include "gui/widgets/createwidget.h"
#include "gui/widgets/label.h"
#include "gui/widgets/scrollarea.h"
#include "gui/widgets/tabbedarea.h"
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp
index 7a2a2c206..6ac5b34dc 100644
--- a/src/gui/windows/statuswindow.cpp
+++ b/src/gui/windows/statuswindow.cpp
@@ -46,7 +46,6 @@
#include "gui/widgets/vertcontainer.h"
#include "gui/widgets/windowcontainer.h"
-#include "net/gamehandler.h"
#include "net/inventoryhandler.h"
#include "net/playerhandler.h"