summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-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: