mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-07 08:02:30 -06:00
BUGFIX: Update RSS feed as soon as feed downloader is enabled
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
* Unreleased - Christophe Dumez <chris@qbittorrent.org> - v2.0.7
|
* Unreleased - Christophe Dumez <chris@qbittorrent.org> - v2.0.7
|
||||||
- BUGFIX: Fix 'Add in pause' setting in torrent addition dialog
|
- BUGFIX: Fix 'Add in pause' setting in torrent addition dialog
|
||||||
|
- BUGFIX: Update RSS feed as soon as feed downloader is enabled
|
||||||
|
|
||||||
* Tue Jan 5 2009 - Christophe Dumez <chris@qbittorrent.org> - v2.0.6
|
* Tue Jan 5 2009 - Christophe Dumez <chris@qbittorrent.org> - v2.0.6
|
||||||
- BUGFIX: Fix detection of invalid torrent files
|
- BUGFIX: Fix detection of invalid torrent files
|
||||||
|
|||||||
@@ -267,6 +267,8 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
~FeedDownloaderDlg() {
|
~FeedDownloaderDlg() {
|
||||||
|
if(enableDl_cb->isChecked())
|
||||||
|
emit filteringEnabled();
|
||||||
// Make sure we save everything
|
// Make sure we save everything
|
||||||
saveCurrentFilterSettings();
|
saveCurrentFilterSettings();
|
||||||
filters.save();
|
filters.save();
|
||||||
@@ -497,6 +499,9 @@ protected slots:
|
|||||||
QMessageBox::warning(0, tr("Export failure"), tr("Filters could not be exported due to an I/O error."));
|
QMessageBox::warning(0, tr("Export failure"), tr("Filters could not be exported due to an I/O error."));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
signals:
|
||||||
|
void filteringEnabled();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#undef QHash
|
#undef QHash
|
||||||
|
|||||||
@@ -374,8 +374,10 @@ void RSSImp::copySelectedFeedsURL() {
|
|||||||
void RSSImp::showFeedDownloader() {
|
void RSSImp::showFeedDownloader() {
|
||||||
QTreeWidgetItem* item = listStreams->selectedItems()[0];
|
QTreeWidgetItem* item = listStreams->selectedItems()[0];
|
||||||
RssFile* rss_item = listStreams->getRSSItem(item);
|
RssFile* rss_item = listStreams->getRSSItem(item);
|
||||||
if(rss_item->getType() == RssFile::STREAM)
|
if(rss_item->getType() == RssFile::STREAM) {
|
||||||
new FeedDownloaderDlg(this, listStreams->getItemID(item), rss_item->getName(), BTSession);
|
FeedDownloaderDlg* feedDownloader = new FeedDownloaderDlg(this, listStreams->getItemID(item), rss_item->getName(), BTSession);
|
||||||
|
connect(feedDownloader, SIGNAL(filteringEnabled()), this, SLOT(on_updateAllButton_clicked()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void RSSImp::on_markReadButton_clicked() {
|
void RSSImp::on_markReadButton_clicked() {
|
||||||
|
|||||||
Reference in New Issue
Block a user