Skip to content

Commit

Permalink
Skip user input events when adding torrent
Browse files Browse the repository at this point in the history
Closes #7327.
  • Loading branch information
glassez committed Aug 23, 2017
1 parent 98dd2be commit bda5be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/bittorrent/session.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit bda5be8

Please sign in to comment.