summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-22 22:28:59 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-22 22:28:59 +0300
commit56c7ed4647d168842bda18ee797e735ccc5fd557 (patch)
tree34caf81ea253d331b1c2baf30e5ced3d73c2486d /src/gui/widgets/tabs
parent4adbe6036ac29080bb8d02d92efe1175209a85a3 (diff)
downloadmanaverse-56c7ed4647d168842bda18ee797e735ccc5fd557.tar.gz
manaverse-56c7ed4647d168842bda18ee797e735ccc5fd557.tar.bz2
manaverse-56c7ed4647d168842bda18ee797e735ccc5fd557.tar.xz
manaverse-56c7ed4647d168842bda18ee797e735ccc5fd557.zip
Move themesmodel into gui/models directory.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r--src/gui/widgets/tabs/setup_theme.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/gui/widgets/tabs/setup_theme.cpp b/src/gui/widgets/tabs/setup_theme.cpp
index 7f2804c2f..4bde4b35e 100644
--- a/src/gui/widgets/tabs/setup_theme.cpp
+++ b/src/gui/widgets/tabs/setup_theme.cpp
@@ -27,6 +27,7 @@
#include "gui/windows/okdialog.h"
#include "gui/models/extendedlistmodel.h"
+#include "gui/models/fontsmodel.h"
#include "gui/models/namesmodel.h"
#include "gui/models/themesmodel.h"
@@ -55,17 +56,6 @@ const char* ACTION_JAPAN_FONT = "japanese font";
const char* ACTION_CHINA_FONT = "chinese font";
const char* ACTION_INFO = "info";
-class FontsModel final : public NamesModel
-{
-public:
- FontsModel() :
- NamesModel()
- { Theme::fillFontsList(mNames); }
-
- ~FontsModel()
- { }
-};
-
const int maxFontSizes = 16;
const char *SIZE_NAME[maxFontSizes] =