mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
use a mutex for download list access (should fix sorting)
This commit is contained in:
parent
dcc54a7f35
commit
dfa9965ed3
3 changed files with 6 additions and 1 deletions
|
@ -841,8 +841,8 @@ QStringList bittorrent::getUncheckedTorrentsList() const{
|
|||
|
||||
void bittorrent::setTorrentFinishedChecking(QString hash){
|
||||
int index = torrentsUnchecked.indexOf(hash);
|
||||
qDebug("torrent %s finished checking", (const char*)hash.toUtf8());
|
||||
if(index != -1){
|
||||
qDebug("torrent %s finished checking", (const char*)hash.toUtf8());
|
||||
torrentsUnchecked.removeAt(index);
|
||||
qDebug("Still %d unchecked torrents", torrentsUnchecked.size());
|
||||
if(torrentsUnchecked.size() == 0){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue