Skip user input events when adding torrent

Closes #7327.
This commit is contained in:
Vladimir Golovnev 2017-08-23 11:14:34 +03:00 committed by GitHub
commit bda5be8e4c

View file

@ -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;