1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-30 08:24:22 +00:00

Merge pull request #7445 from Chocobo1/fixAddTorrent

Disable processing socket events in findIncompleteFiles()
This commit is contained in:
Mike Tzou 2017-10-25 23:00:35 +08:00 committed by GitHub
commit 1f7391737e

View File

@ -2217,8 +2217,6 @@ bool Session::findIncompleteFiles(TorrentInfo &torrentInfo, QString &savePath) c
found = true;
torrentInfo.renameFile(i, filePath + QB_EXT);
}
if ((i % 100) == 0)
qApp->processEvents(QEventLoop::ExcludeUserInputEvents);
}
return found;