Browse Source

Merge pull request #7332 from qbittorrent/fix-7327

Skip user input events when adding torrent. Closes #7327
adaptive-webui-19844
Vladimir Golovnev 7 years ago committed by GitHub
parent
commit
7a96ddccc6
  1. 2
      src/base/bittorrent/session.cpp

2
src/base/bittorrent/session.cpp

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

Loading…
Cancel
Save