aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jobs/downloadfilejob.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/jobs/downloadfilejob.cpp b/jobs/downloadfilejob.cpp
index 07d14197..6a3d8483 100644
--- a/jobs/downloadfilejob.cpp
+++ b/jobs/downloadfilejob.cpp
@@ -54,6 +54,7 @@ void DownloadFileJob::beforeStart(const ConnectionData*)
qCWarning(JOBS) << "Couldn't open the temporary file"
<< d->tempFile->fileName() << "for writing";
setStatus(FileError, "Could not open the temporary download file");
+ return;
}
qCDebug(JOBS) << "Downloading to" << d->tempFile->fileName();
}