From 3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 26 Sep 2014 23:25:32 +0300 Subject: Fix code style. --- src/gui/widgets/itemcontainer.cpp | 2 +- src/gui/widgets/selldialog.cpp | 11 +---------- src/gui/widgets/tabs/chattab.cpp | 1 - src/gui/widgets/tabs/whispertab.cpp | 3 ++- 4 files changed, 4 insertions(+), 13 deletions(-) (limited to 'src/gui/widgets') 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, -- cgit v1.2.3-70-g09d2