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