summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/preferencesdialog.cpp
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-06-07 22:35:32 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-06-07 22:35:32 +0000
commit24647bace9dc64a40a527512a8dd1f8b69dbe893 (patch)
tree475dfb960579fbb6331dde200c30946d6ed96820 /utils/themeeditor/preferencesdialog.cpp
parent42b065f04afffdae502b00383bafa9c925e309f8 (diff)
downloadrockbox-24647bace9dc64a40a527512a8dd1f8b69dbe893.tar.gz
rockbox-24647bace9dc64a40a527512a8dd1f8b69dbe893.tar.bz2
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/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();