Fix labeling in RSS downloader

This commit is contained in:
Christophe Dumez 2011-01-15 18:23:19 +00:00
parent 615e08b74f
commit d24abc3088

View file

@ -2421,8 +2421,7 @@ void QBtSession::addMagnetSkipAddDlg(QString uri) {
void QBtSession::downloadUrlAndSkipDialog(QString url, QString save_path, QString label) { void QBtSession::downloadUrlAndSkipDialog(QString url, QString save_path, QString label) {
//emit aboutToDownloadFromUrl(url); //emit aboutToDownloadFromUrl(url);
const QUrl qurl = QUrl::fromEncoded(url.toLocal8Bit()); const QUrl qurl = QUrl::fromEncoded(url.toLocal8Bit());
if(!save_path.isEmpty()) savepathLabel_fromurl[qurl] = qMakePair(save_path, label);
savepathLabel_fromurl[qurl] = qMakePair(save_path, label);
url_skippingDlg << qurl; url_skippingDlg << qurl;
// Launch downloader thread // Launch downloader thread
downloader->downloadUrl(url); downloader->downloadUrl(url);