mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
** BIG COMMIT **
- Fixed a bug in options (scan dir widget were not initialized well, still disabled when they shouldn't) - Fixed a bug in scan dir (doesn't display torrent addition dialog several times for the same torrent if we don't close the dialog before next scan refresh - Splitted GUI from Bittorrent, lot of code rewritten and optimized. Code changed so much that we will spend the next few days squashing eventual new bugs ;) - We don't use the hash table to store the torrent handles anymore because libtorrent is already doing it for us (save memory)
This commit is contained in:
parent
dc89c5d381
commit
bd3bde919d
10 changed files with 511 additions and 844 deletions
|
@ -42,7 +42,7 @@ class downloadThread : public QThread {
|
|||
QWaitCondition condition;
|
||||
|
||||
signals:
|
||||
void downloadFinished(QString url, QString file_path, int return_code, QString errorBuffer);
|
||||
void downloadFinished(const QString& url, const QString& file_path, int return_code, const QString& errorBuffer);
|
||||
|
||||
public:
|
||||
downloadThread(QObject* parent) : QThread(parent){}
|
||||
|
@ -144,6 +144,7 @@ class downloadThread : public QThread {
|
|||
qDebug("In Download thread RUN, mutex unlocked (no urls) -> stopping");
|
||||
break;
|
||||
}
|
||||
SleeperThread::msleep(500);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue