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

This commit is contained in:
Christophe Dumez 2010-11-21 17:36:49 +00:00
parent e15ac643de
commit 5fc3aa17b9

View file

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