diff options
Diffstat (limited to 'lib/jobs')
-rw-r--r-- | lib/jobs/downloadfilejob.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jobs/downloadfilejob.cpp b/lib/jobs/downloadfilejob.cpp index 7a7a46f6..e82271eb 100644 --- a/lib/jobs/downloadfilejob.cpp +++ b/lib/jobs/downloadfilejob.cpp @@ -149,7 +149,7 @@ BaseJob::Status DownloadFileJob::prepareResult() } auto decrypted = decrypt(encrypted, d->key, d->iv); d->targetFile->write(decrypted); - d->targetFile->remove(); + d->tempFile->remove(); } else { #endif d->targetFile->close(); |