mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-29 05:48:47 +03:00
fixed a bug in last commit
This commit is contained in:
parent
43dcbf776b
commit
0e7c16901c
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ class deleteThread : public QThread {
|
||||||
if(!torrents_list.empty()){
|
if(!torrents_list.empty()){
|
||||||
QPair<QString, arborescence *> torrent = torrents_list.takeFirst();
|
QPair<QString, arborescence *> torrent = torrents_list.takeFirst();
|
||||||
mutex.unlock();
|
mutex.unlock();
|
||||||
subDeleteThread *st = new subDeleteThread(this, torrent.first, torrent.second);
|
subDeleteThread *st = new subDeleteThread(0, torrent.first, torrent.second);
|
||||||
subThreads << st;
|
subThreads << st;
|
||||||
connect(st, SIGNAL(deletionSuccessST(subDeleteThread*)), this, SLOT(deleteSubThread(subDeleteThread*)));
|
connect(st, SIGNAL(deletionSuccessST(subDeleteThread*)), this, SLOT(deleteSubThread(subDeleteThread*)));
|
||||||
//connect(st, SIGNAL(deletionFailureST(subDeleteThread*)), this, SLOT(deleteSubThread(subDeleteThread*)));
|
//connect(st, SIGNAL(deletionFailureST(subDeleteThread*)), this, SLOT(deleteSubThread(subDeleteThread*)));
|
||||||
|
|
Loading…
Reference in a new issue