diff --git a/src/base/bittorrent/customstorage.cpp b/src/base/bittorrent/customstorage.cpp index 83a101442..9157444f4 100644 --- a/src/base/bittorrent/customstorage.cpp +++ b/src/base/bittorrent/customstorage.cpp @@ -275,8 +275,7 @@ void CustomStorage::handleCompleteFiles(const QString &savePath) QFile completeFile {saveDir.absoluteFilePath(completeFilePath)}; if (completeFile.exists()) { QFile incompleteFile {saveDir.absoluteFilePath(filePath)}; - if (incompleteFile.exists()) - incompleteFile.remove(); + incompleteFile.remove(); completeFile.rename(incompleteFile.fileName()); } }