Browse Source

Merge pull request #7445 from Chocobo1/fixAddTorrent

Disable processing socket events in findIncompleteFiles()
adaptive-webui-19844
Mike Tzou 7 years ago committed by GitHub
parent
commit
1f7391737e
  1. 2
      src/base/bittorrent/session.cpp

2
src/base/bittorrent/session.cpp

@ -2217,8 +2217,6 @@ bool Session::findIncompleteFiles(TorrentInfo &torrentInfo, QString &savePath) c @@ -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;

Loading…
Cancel
Save