mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
- Fixed deleteThread connect slot
This commit is contained in:
@@ -112,8 +112,8 @@ class deleteThread : public QThread {
|
|||||||
mutex.unlock();
|
mutex.unlock();
|
||||||
subDeleteThread *st = new subDeleteThread(0, path);
|
subDeleteThread *st = new subDeleteThread(0, path);
|
||||||
subThreads << st;
|
subThreads << st;
|
||||||
connect(st, SIGNAL(deletionSuccessST(subDownloadThread*, QString)), this, SLOT(propagateDeletionSuccess(subDeleteThread*, QString)));
|
connect(st, SIGNAL(deletionSuccessST(subDeleteThread*, QString)), this, SLOT(propagateDeletionSuccess(subDeleteThread*, QString)));
|
||||||
connect(st, SIGNAL(deletionFailureST(subDownloadThread*, QString)), this, SLOT(propagateDeletionFailure(subDeleteThread*, QString)));
|
connect(st, SIGNAL(deletionFailureST(subDeleteThread*, QString)), this, SLOT(propagateDeletionFailure(subDeleteThread*, QString)));
|
||||||
st->start();
|
st->start();
|
||||||
}else{
|
}else{
|
||||||
condition.wait(&mutex);
|
condition.wait(&mutex);
|
||||||
|
|||||||
Reference in New Issue
Block a user