Browse Source

Fix HTTP redirect issue that would cause the torrent addition to show up for automated RSS downloads (Closes #677565)

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
5fc3aa17b9
  1. 2
      src/downloadthread.cpp

2
src/downloadthread.cpp

@ -52,7 +52,7 @@ downloadThread::downloadThread(QObject* parent) : QObject(parent) {
} }
void downloadThread::processDlFinished(QNetworkReply* reply) { void downloadThread::processDlFinished(QNetworkReply* reply) {
QString url = reply->url().toEncoded().data(); QString url = reply->url().toString();
qDebug("Download finished: %s", qPrintable(url)); qDebug("Download finished: %s", qPrintable(url));
if(reply->error() != QNetworkReply::NoError) { if(reply->error() != QNetworkReply::NoError) {
// Failure // Failure

Loading…
Cancel
Save