summaryrefslogtreecommitdiff
path: root/file_download.cpp
diff options
context:
space:
mode:
authordaniel-Jones <daniel@danieljon.es>2016-08-16 08:20:06 +0930
committerdaniel-Jones <daniel@danieljon.es>2016-08-16 08:25:42 +0930
commita2cbf0f5948c89334511aff60df12f4a77b4bb5e (patch)
tree338a56696894e8f5f633a99ee0afce2a4b2b466e /file_download.cpp
parentca548026050c9643c82640cb46926545c2114949 (diff)
downloadcsgo_stats-a2cbf0f5948c89334511aff60df12f4a77b4bb5e.tar.gz
csgo_stats-a2cbf0f5948c89334511aff60df12f4a77b4bb5e.zip
Many changes to the stat viewer - work on the stat viewer halted for now. I have added CS:GO game integration. You can now view live game information. Uses port 3000 (see the CS:GO wiki for setting up game integration).
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 */
+ }
}