summaryrefslogtreecommitdiffstats
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) :
manager = new QNetworkAccessManager();
+ if(!dir.exists())
+ dir.mkpath(path);
+
if(dir.isReadable())
{
fout.setFileName(dir.absolutePath() + "/fonts.zip");