Browse Source

Fix labeling in RSS downloader

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
d24abc3088
  1. 3
      src/qtlibtorrent/qbtsession.cpp

3
src/qtlibtorrent/qbtsession.cpp

@ -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);

Loading…
Cancel
Save