summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-26 23:25:32 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-26 23:25:32 +0300
commit3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0 (patch)
treed7f1400583c5bc6916129e05fc5e0907d1081ca9 /src/gui/widgets
parent6112e911a5b702fa1a9fca7bb6300f0195cbe685 (diff)
downloadplus-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.tar.gz
plus-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.tar.bz2
plus-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.tar.xz
plus-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.zip
Fix code style.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/itemcontainer.cpp2
-rw-r--r--src/gui/widgets/selldialog.cpp11
-rw-r--r--src/gui/widgets/tabs/chattab.cpp1
-rw-r--r--src/gui/widgets/tabs/whispertab.cpp3
4 files changed, 4 insertions, 13 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp
index 1d18c3e2e..0ea19ea59 100644
--- a/src/gui/widgets/itemcontainer.cpp
+++ b/src/gui/widgets/itemcontainer.cpp
@@ -41,11 +41,11 @@
#include "gui/windows/shopwindow.h"
#include "gui/windows/shortcutwindow.h"
-#include "net/net.h"
#include "net/inventoryhandler.h"
#include "net/tradehandler.h"
#include "utils/gettext.h"
+#include "utils/stringutils.h"
#include "resources/image.h"
#include "resources/iteminfo.h"
diff --git a/src/gui/widgets/selldialog.cpp b/src/gui/widgets/selldialog.cpp
index 611850398..2d45c39f8 100644
--- a/src/gui/widgets/selldialog.cpp
+++ b/src/gui/widgets/selldialog.cpp
@@ -25,11 +25,7 @@
#include "shopitem.h"
#include "units.h"
-#include "being/playerinfo.h"
-
-#include "gui/windows/confirmdialog.h"
#include "gui/windows/setupwindow.h"
-#include "gui/windows/tradewindow.h"
#include "gui/models/shopitems.h"
@@ -42,14 +38,9 @@
#include "gui/widgets/shoplistbox.h"
#include "gui/widgets/slider.h"
-#include "net/buysellhandler.h"
-#include "net/net.h"
-#include "net/npchandler.h"
-
-#include "resources/iteminfo.h"
-
#include "utils/delete2.h"
#include "utils/gettext.h"
+#include "utils/stringutils.h"
#include "debug.h"
diff --git a/src/gui/widgets/tabs/chattab.cpp b/src/gui/widgets/tabs/chattab.cpp
index 54d675a85..fe4bd9187 100644
--- a/src/gui/widgets/tabs/chattab.cpp
+++ b/src/gui/widgets/tabs/chattab.cpp
@@ -45,7 +45,6 @@
#include "input/inputmanager.h"
#include "net/chathandler.h"
-#include "net/net.h"
#include "resources/iteminfo.h"
diff --git a/src/gui/widgets/tabs/whispertab.cpp b/src/gui/widgets/tabs/whispertab.cpp
index 6c89a887b..03b90ca18 100644
--- a/src/gui/widgets/tabs/whispertab.cpp
+++ b/src/gui/widgets/tabs/whispertab.cpp
@@ -27,12 +27,13 @@
#include "being/localplayer.h"
#include "net/chathandler.h"
-#include "net/net.h"
#include "gui/windows/chatwindow.h"
#include "gui/widgets/windowcontainer.h"
+#include "utils/stringutils.h"
+
#include "debug.h"
WhisperTab::WhisperTab(const Widget2 *const widget,