X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fdownloaditem.cpp;h=0ff2396bd90f1583264c33771009a363d6ff613f;hb=a8e005af0aa72f809f823bbd741bb3d0def00ced;hp=39132eb0eeaaaad4b73b830e4bd212270b965291;hpb=2c530dd73ae4db20945c152334ab9897ec9b91af;p=minitube diff --git a/src/downloaditem.cpp b/src/downloaditem.cpp index 39132eb..0ff2396 100644 --- a/src/downloaditem.cpp +++ b/src/downloaditem.cpp @@ -42,7 +42,7 @@ DownloadItem::~DownloadItem() { } void DownloadItem::start() { - m_reply = The::http()->simpleGet(m_url); + m_reply = The::http()->request(m_url); init(); } @@ -159,7 +159,7 @@ void DownloadItem::metaDataChanged() { QVariant locationHeader = m_reply->header(QNetworkRequest::LocationHeader); if (locationHeader.isValid()) { m_url = locationHeader.toUrl(); - qDebug() << "Redirecting to" << m_url; + // qDebug() << "Redirecting to" << m_url; tryAgain(); return; }