From 24647bace9dc64a40a527512a8dd1f8b69dbe893 Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Mon, 7 Jun 2010 22:35:32 +0000 Subject: Theme Editor: Changed default font to monospaced, changed organization for the application to rockbox.org, moved tab bar in preferences dialog to the top of the window git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26677 a1c6a512-1295-4272-9138-f99709370657 --- utils/themeeditor/skindocument.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'utils/themeeditor/skindocument.cpp') diff --git a/utils/themeeditor/skindocument.cpp b/utils/themeeditor/skindocument.cpp index aa8fc500d3..3da248a30b 100644 --- a/utils/themeeditor/skindocument.cpp +++ b/utils/themeeditor/skindocument.cpp @@ -151,7 +151,9 @@ void SkinDocument::settingsChanged() errorColor.setProperty(QTextFormat::FullWidthSelection, true); /* Setting the font */ - QFont family = settings.value("fontFamily", QFont()).value(); + QFont def("Monospace"); + def.setStyleHint(QFont::TypeWriter); + QFont family = settings.value("fontFamily", def).value(); family.setPointSize(settings.value("fontSize", 12).toInt()); editor->setFont(family); -- cgit v1.2.3