Browse Source

- Fix "Append .!qB extension to incomplete files". The extension would stay under certain conditions

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
ab36a358b7
  1. 5
      src/bittorrent.cpp

5
src/bittorrent.cpp

@ -1745,6 +1745,11 @@ void Bittorrent::addConsoleMessage(QString msg, QString) {
QString hash = h.hash(); QString hash = h.hash();
// Remember finished state // Remember finished state
TorrentPersistentData::saveSeedStatus(h); TorrentPersistentData::saveSeedStatus(h);
#ifdef LIBTORRENT_0_15
// Remove .!qB extension if necessary
if(appendqBExtension)
appendqBextensionToTorrent(h, false);
#endif
// Move to download directory if necessary // Move to download directory if necessary
if(!defaultTempPath.isEmpty()) { if(!defaultTempPath.isEmpty()) {
// Check if directory is different // Check if directory is different

Loading…
Cancel
Save