diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-06-07 22:35:32 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-06-07 22:35:32 +0000 |
commit | 24647bace9dc64a40a527512a8dd1f8b69dbe893 (patch) | |
tree | 475dfb960579fbb6331dde200c30946d6ed96820 /utils/themeeditor/skindocument.cpp | |
parent | 42b065f04afffdae502b00383bafa9c925e309f8 (diff) | |
download | rockbox-24647bace9dc64a40a527512a8dd1f8b69dbe893.tar.gz rockbox-24647bace9dc64a40a527512a8dd1f8b69dbe893.zip |
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
Diffstat (limited to 'utils/themeeditor/skindocument.cpp')
-rw-r--r-- | utils/themeeditor/skindocument.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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() | |||
151 | errorColor.setProperty(QTextFormat::FullWidthSelection, true); | 151 | errorColor.setProperty(QTextFormat::FullWidthSelection, true); |
152 | 152 | ||
153 | /* Setting the font */ | 153 | /* Setting the font */ |
154 | QFont family = settings.value("fontFamily", QFont()).value<QFont>(); | 154 | QFont def("Monospace"); |
155 | def.setStyleHint(QFont::TypeWriter); | ||
156 | QFont family = settings.value("fontFamily", def).value<QFont>(); | ||
155 | family.setPointSize(settings.value("fontSize", 12).toInt()); | 157 | family.setPointSize(settings.value("fontSize", 12).toInt()); |
156 | editor->setFont(family); | 158 | editor->setFont(family); |
157 | 159 | ||