mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 23:07:59 +00:00
Merge pull request #7332 from qbittorrent/fix-7327
Skip user input events when adding torrent. Closes #7327
This commit is contained in:
commit
7a96ddccc6
@ -2054,7 +2054,7 @@ bool Session::findIncompleteFiles(TorrentInfo &torrentInfo, QString &savePath) c
|
|||||||
torrentInfo.renameFile(i, filePath + QB_EXT);
|
torrentInfo.renameFile(i, filePath + QB_EXT);
|
||||||
}
|
}
|
||||||
if ((i % 100) == 0)
|
if ((i % 100) == 0)
|
||||||
qApp->processEvents();
|
qApp->processEvents(QEventLoop::ExcludeUserInputEvents);
|
||||||
}
|
}
|
||||||
|
|
||||||
return found;
|
return found;
|
||||||
|
Loading…
Reference in New Issue
Block a user