mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-29 05:48:47 +03:00
parent
f893131b8d
commit
b2df917011
1 changed files with 1 additions and 4 deletions
|
@ -188,12 +188,9 @@ void DownloadHandler::handleRedirection(QUrl newUrl)
|
||||||
this->deleteLater();
|
this->deleteLater();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
DownloadHandler *tmp = m_manager->downloadUrl(newUrlString, m_sizeLimit);
|
DownloadHandler *tmp = m_manager->downloadUrl(newUrlString, m_saveToFile, m_sizeLimit, m_handleRedirectToMagnet);
|
||||||
m_reply->deleteLater();
|
m_reply->deleteLater();
|
||||||
m_reply = tmp->m_reply;
|
m_reply = tmp->m_reply;
|
||||||
m_saveToFile = tmp->m_saveToFile;
|
|
||||||
m_sizeLimit = tmp->m_sizeLimit;
|
|
||||||
m_handleRedirectToMagnet = tmp->m_handleRedirectToMagnet;
|
|
||||||
init();
|
init();
|
||||||
tmp->m_reply = 0;
|
tmp->m_reply = 0;
|
||||||
delete tmp;
|
delete tmp;
|
||||||
|
|
Loading…
Reference in a new issue