mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-21 08:09:35 +08:00
Fix Add tracker dialog URL download
This commit is contained in:
parent
b7ef066545
commit
7fe5674b9a
@ -65,7 +65,7 @@ QStringList TrackersAdditionDlg::newTrackers() const
|
|||||||
void TrackersAdditionDlg::on_uTorrentListButton_clicked()
|
void TrackersAdditionDlg::on_uTorrentListButton_clicked()
|
||||||
{
|
{
|
||||||
uTorrentListButton->setEnabled(false);
|
uTorrentListButton->setEnabled(false);
|
||||||
Net::DownloadHandler *handler = Net::DownloadManager::instance()->downloadUrl(QString("https://www.torrentz.com/announce_%1").arg(m_torrent->hash()), true);
|
Net::DownloadHandler *handler = Net::DownloadManager::instance()->downloadUrl(list_url->text(), true);
|
||||||
connect(handler, SIGNAL(downloadFinished(QString, QString)), this, SLOT(parseUTorrentList(QString, QString)));
|
connect(handler, SIGNAL(downloadFinished(QString, QString)), this, SLOT(parseUTorrentList(QString, QString)));
|
||||||
connect(handler, SIGNAL(downloadFailed(QString, QString)), this, SLOT(getTrackerError(QString, QString)));
|
connect(handler, SIGNAL(downloadFailed(QString, QString)), this, SLOT(getTrackerError(QString, QString)));
|
||||||
//Just to show that it takes times
|
//Just to show that it takes times
|
||||||
|
Loading…
Reference in New Issue
Block a user