mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
use a mutex for download list access (should fix sorting)
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user