summaryrefslogtreecommitdiff
path: root/utils/themeeditor/gui/fontdownloader.cpp
diff options
context:
space:
mode:
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) :
40 40
41 manager = new QNetworkAccessManager(); 41 manager = new QNetworkAccessManager();
42 42
43 if(!dir.exists())
44 dir.mkpath(path);
45
43 if(dir.isReadable()) 46 if(dir.isReadable())
44 { 47 {
45 fout.setFileName(dir.absolutePath() + "/fonts.zip"); 48 fout.setFileName(dir.absolutePath() + "/fonts.zip");