diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-22 21:35:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-22 21:37:23 +0300 |
commit | 4adbe6036ac29080bb8d02d92efe1175209a85a3 (patch) | |
tree | 780558d670a4120c36afefcbd13aed15397bdcde /src/gui/widgets/tabs | |
parent | a21e7a1004f8c4b135451929bdd7fbb57ee55910 (diff) | |
download | manaplus-4adbe6036ac29080bb8d02d92efe1175209a85a3.tar.gz manaplus-4adbe6036ac29080bb8d02d92efe1175209a85a3.tar.bz2 manaplus-4adbe6036ac29080bb8d02d92efe1175209a85a3.tar.xz manaplus-4adbe6036ac29080bb8d02d92efe1175209a85a3.zip |
Move themesmodel into gui/models directory.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r-- | src/gui/widgets/tabs/setup_theme.cpp | 15 |
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: |