summaryrefslogtreecommitdiff
path: root/file_download.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'file_download.cpp')
-rw-r--r--file_download.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/file_download.cpp b/file_download.cpp
index c155f8b..add1207 100644
--- a/file_download.cpp
+++ b/file_download.cpp
@@ -24,5 +24,8 @@ int file_download::file_download::download_file(QString url, QString save_locati
if (QFile::exists(save_location) && file.size() > 0)
return 1; /* file downloaded - could just be a blank file at this point */
else
+ {
+ msgbox.info_box("Unable to download file", "Notice");
return 0; /* file did not download */
+ }
}