diff --git a/src/FeedDownloader.ui b/src/FeedDownloader.ui
index 5ad49f111..69e3df10b 100644
--- a/src/FeedDownloader.ui
+++ b/src/FeedDownloader.ui
@@ -227,6 +227,9 @@
Matches:
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
-
@@ -240,6 +243,9 @@
Does not match:
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
-
@@ -253,6 +259,9 @@
Destination folder:
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
@@ -327,6 +336,9 @@
Torrent title:
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
-
@@ -340,6 +352,9 @@
Result:
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
diff --git a/src/rss.h b/src/rss.h
index 9f85eb8cc..f437db502 100644
--- a/src/rss.h
+++ b/src/rss.h
@@ -389,9 +389,10 @@ RssStream(bittorrent *BTSession, QString _url): BTSession(BTSession), url(_url),
foreach(RssItem *item, listItem) {
old_items << item->toHash();
}
+ qDebug("Saving %d old items for feed %s", old_items.size(), getAliasOrUrl().toLocal8Bit().data());
QHash all_old_items = qBTRSS.value("old_items", QHash()).toHash();
all_old_items[url] = old_items;
- qBTRSS.setValue(url, all_old_items);
+ qBTRSS.setValue("old_items", all_old_items);
}
removeAllItems();
if(QFile::exists(filePath))
@@ -539,6 +540,7 @@ short readDoc(const QDomDocument& doc) {
QSettings qBTRSS("qBittorrent", "qBittorrent-rss");
QHash all_old_items = qBTRSS.value("old_items", QHash()).toHash();
QVariantList old_items = all_old_items.value(url, QVariantList()).toList();
+ qDebug("Loading %d old items for feed %s", old_items.size(), getAliasOrUrl().toLocal8Bit().data());
foreach(const QVariant &var_it, old_items) {
QHash item = var_it.toHash();
RssItem *rss_item = RssItem::fromHash(item);
@@ -583,7 +585,7 @@ short readDoc(const QDomDocument& doc) {
FeedFilter * matching_filter = FeedFilters::getFeedFilters(url).matches(item->getTitle());
if(matching_filter != 0) {
// Download the torrent
- BTSession->addConsoleMessage(tr("Automatically downloading %1 torrent from %2 RSS feed...").arg(item->getTorrentUrl()).arg(getAliasOrUrl()));
+ BTSession->addConsoleMessage(tr("Automatically downloading %1 torrent from %2 RSS feed...").arg(item->getTitle()).arg(getAliasOrUrl()));
if(matching_filter->isValid()) {
QString save_path = matching_filter->getSavePath();
if(save_path.isEmpty())