From cbfdc8f721db5c20bff91ca685891a02a11f1584 Mon Sep 17 00:00:00 2001 From: Vladimir Golovnev Date: Wed, 23 Aug 2017 11:14:34 +0300 Subject: [PATCH] Skip user input events when adding torrent Closes #7327. --- src/base/bittorrent/session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/bittorrent/session.cpp b/src/base/bittorrent/session.cpp index f0b256b3c..01ce95751 100644 --- a/src/base/bittorrent/session.cpp +++ b/src/base/bittorrent/session.cpp @@ -1761,7 +1761,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;