summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-24 21:39:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-24 21:39:02 +0300
commit798a2d57cc46ff7a70e9404275445d086ce6ef1e (patch)
treece06fad681fdab2746d0712221db51681ec89ac5 /src/gui
parentaf0c69dea518051b0ab3054ce9f06cb2806d7d1b (diff)
downloadmv-798a2d57cc46ff7a70e9404275445d086ce6ef1e.tar.gz
mv-798a2d57cc46ff7a70e9404275445d086ce6ef1e.tar.bz2
mv-798a2d57cc46ff7a70e9404275445d086ce6ef1e.tar.xz
mv-798a2d57cc46ff7a70e9404275445d086ce6ef1e.zip
Fix localconsts.h and debug.h includes.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/fonts/textchunksmall.cpp2
-rw-r--r--src/gui/models/keylistmodel.h2
-rw-r--r--src/gui/popups/createpartypopup.h2
-rw-r--r--src/gui/sdlinput.cpp2
-rw-r--r--src/gui/windows/editserverdialog.cpp2
5 files changed, 7 insertions, 3 deletions
diff --git a/src/gui/fonts/textchunksmall.cpp b/src/gui/fonts/textchunksmall.cpp
index aa5661dee..634b10866 100644
--- a/src/gui/fonts/textchunksmall.cpp
+++ b/src/gui/fonts/textchunksmall.cpp
@@ -22,7 +22,7 @@
#include "gui/fonts/font.h"
-#include "localconsts.h"
+#include "debug.h"
TextChunkSmall::TextChunkSmall(const std::string &text0,
const Color &color0,
diff --git a/src/gui/models/keylistmodel.h b/src/gui/models/keylistmodel.h
index 17d17acd4..be5083e3e 100644
--- a/src/gui/models/keylistmodel.h
+++ b/src/gui/models/keylistmodel.h
@@ -28,7 +28,7 @@
#include "gui/models/listmodel.h"
-#include "debug.h"
+#include "localconsts.h"
/**
* The list model for key function list.
diff --git a/src/gui/popups/createpartypopup.h b/src/gui/popups/createpartypopup.h
index c3de37259..74438a98f 100644
--- a/src/gui/popups/createpartypopup.h
+++ b/src/gui/popups/createpartypopup.h
@@ -31,7 +31,7 @@
#include "utils/gettext.h"
#include "utils/stringutils.h"
-#include "debug.h"
+#include "localconsts.h"
class CreatePartyPopup final : public Popup,
public LinkHandler
diff --git a/src/gui/sdlinput.cpp b/src/gui/sdlinput.cpp
index 847e2a060..6d3121451 100644
--- a/src/gui/sdlinput.cpp
+++ b/src/gui/sdlinput.cpp
@@ -91,6 +91,8 @@
#include <SDL_keyboard.h>
#include <SDL_timer.h>
+#include "debug.h"
+
SDLInput::SDLInput() :
mKeyInputQueue(),
mMouseInputQueue(),
diff --git a/src/gui/windows/editserverdialog.cpp b/src/gui/windows/editserverdialog.cpp
index 9cc6d863f..ae0ae3ad8 100644
--- a/src/gui/windows/editserverdialog.cpp
+++ b/src/gui/windows/editserverdialog.cpp
@@ -39,6 +39,8 @@
#include "utils/gettext.h"
+#include "debug.h"
+
EditServerDialog::EditServerDialog(ServerDialog *const parent,
ServerInfo server,
const int index) :