forked from len0rd/rockbox
Theme Editor: Changed default directories for fonts and targetdb, font downloader will now make download directory if it doesn't exist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27515 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d03929b0c9
commit
2a2df2857b
2 changed files with 8 additions and 2 deletions
|
|
@ -113,7 +113,10 @@ void PreferencesDialog::loadRender()
|
|||
QSettings settings;
|
||||
settings.beginGroup("RBFont");
|
||||
|
||||
ui->fontBox->setText(settings.value("fontDir", "/").toString());
|
||||
QString confDir = QDir::homePath() + "/.rbthemeeditor";
|
||||
|
||||
ui->fontBox->setText(settings.value("fontDir", confDir + "/fonts/")
|
||||
.toString());
|
||||
|
||||
settings.endGroup();
|
||||
|
||||
|
|
@ -129,7 +132,7 @@ void PreferencesDialog::loadRender()
|
|||
settings.beginGroup("TargetData");
|
||||
|
||||
ui->dbBox->setText(settings.value("targetDbPath",
|
||||
QDir::homePath() + "/.targetdb")
|
||||
confDir + "/targetdb")
|
||||
.toString());
|
||||
|
||||
settings.endGroup();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue