Theme Editor: Default theme font is now correctly loaded
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27321 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
91d6fa7e1b
commit
120f3e1c10
1 changed files with 7 additions and 1 deletions
|
@ -73,7 +73,13 @@ RBScreen::RBScreen(const RBRenderInfo& info, bool remote,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fonts.insert(0, new RBFont("Nothin'"));
|
fonts.insert(0, new RBFont("Default"));
|
||||||
|
QString defaultFont = settings->value("font", "");
|
||||||
|
if(defaultFont != "")
|
||||||
|
{
|
||||||
|
defaultFont.replace("/.rockbox", settings->value("themebase", ""));
|
||||||
|
fonts.insert(1, new RBFont(defaultFont));
|
||||||
|
}
|
||||||
|
|
||||||
if(parent == 0)
|
if(parent == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue