From ab36a358b757c2b0a325a7333a8f8dbe7ff15ce3 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 26 Jan 2010 08:02:15 +0000 Subject: [PATCH] - Fix "Append .!qB extension to incomplete files". The extension would stay under certain conditions --- src/bittorrent.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bittorrent.cpp b/src/bittorrent.cpp index e1c0b6d38..5bd54ec2f 100644 --- a/src/bittorrent.cpp +++ b/src/bittorrent.cpp @@ -1745,6 +1745,11 @@ void Bittorrent::addConsoleMessage(QString msg, QString) { QString hash = h.hash(); // Remember finished state TorrentPersistentData::saveSeedStatus(h); +#ifdef LIBTORRENT_0_15 + // Remove .!qB extension if necessary + if(appendqBExtension) + appendqBextensionToTorrent(h, false); +#endif // Move to download directory if necessary if(!defaultTempPath.isEmpty()) { // Check if directory is different