summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/preferencesdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/preferencesdialog.cpp')
-rw-r--r--utils/themeeditor/preferencesdialog.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/themeeditor/preferencesdialog.cpp b/utils/themeeditor/preferencesdialog.cpp
index 9b28b275f8..78f2ed7206 100644
--- a/utils/themeeditor/preferencesdialog.cpp
+++ b/utils/themeeditor/preferencesdialog.cpp
@@ -92,7 +92,10 @@ void PreferencesDialog::loadFont()
QSettings settings;
settings.beginGroup("SkinDocument");
- QVariant family = settings.value("fontFamily", QFont());
+ QFont def("Monospace");
+ def.setStyleHint(QFont::TypeWriter);
+
+ QVariant family = settings.value("fontFamily", def);
int size = settings.value("fontSize", 12).toInt();
settings.endGroup();