fixed a bug in last commit

This commit is contained in:
Christophe Dumez 2008-09-13 13:41:11 +00:00
parent 43dcbf776b
commit 0e7c16901c

View file

@ -105,7 +105,7 @@ class deleteThread : public QThread {
if(!torrents_list.empty()){
QPair<QString, arborescence *> torrent = torrents_list.takeFirst();
mutex.unlock();
subDeleteThread *st = new subDeleteThread(this, torrent.first, torrent.second);
subDeleteThread *st = new subDeleteThread(0, torrent.first, torrent.second);
subThreads << st;
connect(st, SIGNAL(deletionSuccessST(subDeleteThread*)), this, SLOT(deleteSubThread(subDeleteThread*)));
//connect(st, SIGNAL(deletionFailureST(subDeleteThread*)), this, SLOT(deleteSubThread(subDeleteThread*)));