summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-05 17:30:36 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-05 17:30:36 +0300
commit261ff1fa32cb75254d68d214f13f8a5aaec33962 (patch)
tree461b674931ab400352360dbfccf3d11ca3a480a6 /src/gui
parentece36a40d4e9a838cde01075d7681b8fc517b19f (diff)
downloadmv-261ff1fa32cb75254d68d214f13f8a5aaec33962.tar.gz
mv-261ff1fa32cb75254d68d214f13f8a5aaec33962.tar.bz2
mv-261ff1fa32cb75254d68d214f13f8a5aaec33962.tar.xz
mv-261ff1fa32cb75254d68d214f13f8a5aaec33962.zip
Move language functions to langs.cpp and langs.h files.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/didyouknowwindow.cpp3
-rw-r--r--src/gui/gui.cpp2
-rw-r--r--src/gui/helpwindow.cpp1
-rw-r--r--src/gui/serverdialog.cpp2
4 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/didyouknowwindow.cpp b/src/gui/didyouknowwindow.cpp
index db0878360..a6b89923e 100644
--- a/src/gui/didyouknowwindow.cpp
+++ b/src/gui/didyouknowwindow.cpp
@@ -22,6 +22,7 @@
#include "gui/didyouknowwindow.h"
+#include "configuration.h"
#include "logger.h"
#include "gui/gui.h"
@@ -34,9 +35,9 @@
#include "gui/widgets/scrollarea.h"
#include "resources/resourcemanager.h"
-#include "configuration.h"
#include "utils/gettext.h"
+#include "utils/langs.h"
#include "debug.h"
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index 1d8b45872..f8d68a672 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -42,6 +42,8 @@
#include "resources/imageloader.h"
#include "resources/resourcemanager.h"
+#include "utils/langs.h"
+
#include <guichan/exception.hpp>
#include <guichan/image.hpp>
diff --git a/src/gui/helpwindow.cpp b/src/gui/helpwindow.cpp
index a099c7a7a..5876667da 100644
--- a/src/gui/helpwindow.cpp
+++ b/src/gui/helpwindow.cpp
@@ -36,6 +36,7 @@
#include "configuration.h"
#include "utils/gettext.h"
+#include "utils/langs.h"
#include "debug.h"
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp
index 59bdf9660..c50c2b802 100644
--- a/src/gui/serverdialog.cpp
+++ b/src/gui/serverdialog.cpp
@@ -46,9 +46,9 @@
#include "net/net.h"
#include "utils/gettext.h"
+#include "utils/langs.h"
#include "utils/stringutils.h"
#include "utils/xml.h"
-#include "widgets/dropdown.h"
#include <guichan/font.hpp>