summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/setup_theme.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-22 21:35:13 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-22 21:37:23 +0300
commit4adbe6036ac29080bb8d02d92efe1175209a85a3 (patch)
tree780558d670a4120c36afefcbd13aed15397bdcde /src/gui/widgets/tabs/setup_theme.cpp
parenta21e7a1004f8c4b135451929bdd7fbb57ee55910 (diff)
downloadmanaverse-4adbe6036ac29080bb8d02d92efe1175209a85a3.tar.gz
manaverse-4adbe6036ac29080bb8d02d92efe1175209a85a3.tar.bz2
manaverse-4adbe6036ac29080bb8d02d92efe1175209a85a3.tar.xz
manaverse-4adbe6036ac29080bb8d02d92efe1175209a85a3.zip
Move themesmodel into gui/models directory.
Diffstat (limited to 'src/gui/widgets/tabs/setup_theme.cpp')
-rw-r--r--src/gui/widgets/tabs/setup_theme.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/gui/widgets/tabs/setup_theme.cpp b/src/gui/widgets/tabs/setup_theme.cpp
index 99deda940..7f2804c2f 100644
--- a/src/gui/widgets/tabs/setup_theme.cpp
+++ b/src/gui/widgets/tabs/setup_theme.cpp
@@ -28,6 +28,7 @@
#include "gui/models/extendedlistmodel.h"
#include "gui/models/namesmodel.h"
+#include "gui/models/themesmodel.h"
#include "gui/widgets/button.h"
#include "gui/widgets/dropdown.h"
@@ -54,20 +55,6 @@ const char* ACTION_JAPAN_FONT = "japanese font";
const char* ACTION_CHINA_FONT = "chinese font";
const char* ACTION_INFO = "info";
-class ThemesModel final : public NamesModel
-{
-public:
- ThemesModel() :
- NamesModel()
- {
- mNames.push_back(gettext("(default)"));
- Theme::fillSkinsList(mNames);
- }
-
- ~ThemesModel()
- { }
-};
-
class FontsModel final : public NamesModel
{
public: