From 9260aeeb212583c430e4f9aaa3e8b37559774fe3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 28 Dec 2017 21:42:33 +0300 Subject: Remove extra includes. --- src/gui/dialogsmanager.cpp | 2 ++ src/gui/widgets/itemlinkhandler.cpp | 2 ++ src/gui/widgets/tabs/socialguildtab.h | 2 ++ src/gui/widgets/tabs/socialpartytab.h | 2 ++ src/gui/windows/chardeleteconfirm.h | 5 ++++- src/gui/windows/confirmdialog.h | 2 -- src/gui/windows/inventorywindow.cpp | 2 ++ src/gui/windows/logindialog.cpp | 2 ++ src/gui/windows/npcselldialog.cpp | 2 ++ src/gui/windows/shopwindow.cpp | 2 ++ 10 files changed, 20 insertions(+), 3 deletions(-) (limited to 'src/gui') diff --git a/src/gui/dialogsmanager.cpp b/src/gui/dialogsmanager.cpp index 409b9c34b..ac27109ff 100644 --- a/src/gui/dialogsmanager.cpp +++ b/src/gui/dialogsmanager.cpp @@ -27,6 +27,8 @@ #include "being/playerinfo.h" +#include "const/sound.h" + #include "gui/widgets/createwidget.h" #include "gui/windows/confirmdialog.h" diff --git a/src/gui/widgets/itemlinkhandler.cpp b/src/gui/widgets/itemlinkhandler.cpp index 0991be6d4..dca2153e8 100644 --- a/src/gui/widgets/itemlinkhandler.cpp +++ b/src/gui/widgets/itemlinkhandler.cpp @@ -25,6 +25,8 @@ #include "itemcolormanager.h" #include "settings.h" +#include "const/sound.h" + #include "gui/viewport.h" #include "gui/popups/itempopup.h" diff --git a/src/gui/widgets/tabs/socialguildtab.h b/src/gui/widgets/tabs/socialguildtab.h index d0a1f8a1d..a7edce545 100644 --- a/src/gui/widgets/tabs/socialguildtab.h +++ b/src/gui/widgets/tabs/socialguildtab.h @@ -26,6 +26,8 @@ #include "being/localplayer.h" +#include "const/sound.h" + #include "utils/delete2.h" #include "utils/foreach.h" #include "utils/gettext.h" diff --git a/src/gui/widgets/tabs/socialpartytab.h b/src/gui/widgets/tabs/socialpartytab.h index f296aa041..2be55fe4b 100644 --- a/src/gui/widgets/tabs/socialpartytab.h +++ b/src/gui/widgets/tabs/socialpartytab.h @@ -24,6 +24,8 @@ #include "gui/widgets/tabs/socialtab.h" +#include "const/sound.h" + #include "party.h" #include "being/localplayer.h" diff --git a/src/gui/windows/chardeleteconfirm.h b/src/gui/windows/chardeleteconfirm.h index 7049050a3..fd64f81e8 100644 --- a/src/gui/windows/chardeleteconfirm.h +++ b/src/gui/windows/chardeleteconfirm.h @@ -23,9 +23,12 @@ #ifndef GUI_WINDOWS_CHARDELETECONFIRM_H #define GUI_WINDOWS_CHARDELETECONFIRM_H -#include "gui/windows/charselectdialog.h" #include "gui/windows/confirmdialog.h" +#include "const/sound.h" + +#include "gui/windows/charselectdialog.h" + #include "utils/gettext.h" #include "localconsts.h" diff --git a/src/gui/windows/confirmdialog.h b/src/gui/windows/confirmdialog.h index 52877bfc6..68e6b2500 100644 --- a/src/gui/windows/confirmdialog.h +++ b/src/gui/windows/confirmdialog.h @@ -25,8 +25,6 @@ #include "localconsts.h" -#include "const/sound.h" - #include "gui/widgets/window.h" #include "listeners/actionlistener.h" diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp index d35ba037b..04be6d0f4 100644 --- a/src/gui/windows/inventorywindow.cpp +++ b/src/gui/windows/inventorywindow.cpp @@ -26,6 +26,8 @@ #include "being/playerinfo.h" +#include "const/sound.h" + #include "enums/gui/layouttype.h" #include "input/inputmanager.h" diff --git a/src/gui/windows/logindialog.cpp b/src/gui/windows/logindialog.cpp index 9799fc87d..e7368446e 100644 --- a/src/gui/windows/logindialog.cpp +++ b/src/gui/windows/logindialog.cpp @@ -25,6 +25,8 @@ #include "client.h" #include "configuration.h" +#include "const/sound.h" + #include "fs/paths.h" #include "gui/models/updatelistmodel.h" diff --git a/src/gui/windows/npcselldialog.cpp b/src/gui/windows/npcselldialog.cpp index be25680fe..046041473 100644 --- a/src/gui/windows/npcselldialog.cpp +++ b/src/gui/windows/npcselldialog.cpp @@ -24,6 +24,8 @@ #include "being/playerinfo.h" +#include "const/sound.h" + #include "gui/windows/confirmdialog.h" #include "gui/models/shopitems.h" diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp index 270727f4b..dd09303fe 100644 --- a/src/gui/windows/shopwindow.cpp +++ b/src/gui/windows/shopwindow.cpp @@ -22,6 +22,8 @@ #include "gui/windows/shopwindow.h" +#include "const/sound.h" + #include "const/resources/currency.h" #ifdef TMWA_SUPPORT -- cgit v1.2.3-70-g09d2