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
|
|
@ -40,6 +40,9 @@ FontDownloader::FontDownloader(QWidget *parent, QString path) :
|
|||
|
||||
manager = new QNetworkAccessManager();
|
||||
|
||||
if(!dir.exists())
|
||||
dir.mkpath(path);
|
||||
|
||||
if(dir.isReadable())
|
||||
{
|
||||
fout.setFileName(dir.absolutePath() + "/fonts.zip");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue