From 4adbe6036ac29080bb8d02d92efe1175209a85a3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 22 Feb 2014 21:35:13 +0300 Subject: Move themesmodel into gui/models directory. --- src/gui/widgets/tabs/setup_theme.cpp | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'src/gui/widgets') 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: -- cgit v1.2.3-70-g09d2