summaryrefslogtreecommitdiff
path: root/utils/themeeditor/gui/fontdownloader.cpp
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-07-21 21:18:17 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-07-21 21:18:17 +0000
commit2a2df2857bf7e4e469a4f49249d1f1d2e2fa3c01 (patch)
treef56617fce2f541b8623578d984c48dde16084746 /utils/themeeditor/gui/fontdownloader.cpp
parentd03929b0c99624d58355dce425439c57bfa17e56 (diff)
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
Diffstat (limited to 'utils/themeeditor/gui/fontdownloader.cpp')
-rw-r--r--utils/themeeditor/gui/fontdownloader.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/themeeditor/gui/fontdownloader.cpp b/utils/themeeditor/gui/fontdownloader.cpp
index 7aa4cd8d57..693f4a5b20 100644
--- a/utils/themeeditor/gui/fontdownloader.cpp
+++ b/utils/themeeditor/gui/fontdownloader.cpp
@@ -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");