- optimized downloadthreads

- fixed resizing in torrent addition dialog
This commit is contained in:
Christophe Dumez
2008-07-27 18:11:45 +00:00
parent dad79d2cc8
commit dc399e9ed9
3 changed files with 14 additions and 14 deletions

View File

@@ -30,6 +30,7 @@
#include <QWaitCondition>
#include <QStringList>
#include <curl/curl.h>
#include <QQueue>
class subDownloadThread : public QThread {
Q_OBJECT
@@ -55,8 +56,7 @@ class downloadThread : public QThread {
Q_OBJECT
private:
QStringList url_list;
QStringList downloading_list;
QQueue<QString> urls_queue;
QMutex mutex;
QWaitCondition condition;
bool abort;