mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 00:33:09 -07:00
Removes several warnings related with RSS
This commit is contained in:
parent
0058abeefa
commit
90a18da499
3 changed files with 3 additions and 5 deletions
|
@ -107,7 +107,7 @@ AutomatedRssDownloader::AutomatedRssDownloader(const QWeakPointer<RssManager>& m
|
||||||
Q_ASSERT(ok);
|
Q_ASSERT(ok);
|
||||||
ok = connect(ui->checkRegex, SIGNAL(stateChanged(int)), SLOT(updateMustNotLineValidity()));
|
ok = connect(ui->checkRegex, SIGNAL(stateChanged(int)), SLOT(updateMustNotLineValidity()));
|
||||||
Q_ASSERT(ok);
|
Q_ASSERT(ok);
|
||||||
ok = connect(this, SIGNAL(finished(int)), SLOT(on_finished(int)));
|
ok = connect(this, SIGNAL(finished(int)), SLOT(onFinished(int)));
|
||||||
Q_ASSERT(ok);
|
Q_ASSERT(ok);
|
||||||
ok = connect(ui->lineEFilter, SIGNAL(textEdited(QString)), SLOT(updateMatchingArticles()));
|
ok = connect(ui->lineEFilter, SIGNAL(textEdited(QString)), SLOT(updateMatchingArticles()));
|
||||||
Q_ASSERT(ok);
|
Q_ASSERT(ok);
|
||||||
|
@ -635,7 +635,7 @@ void AutomatedRssDownloader::updateMustNotLineValidity()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void AutomatedRssDownloader::on_finished(int result) {
|
void AutomatedRssDownloader::onFinished(int result) {
|
||||||
Q_UNUSED(result);
|
Q_UNUSED(result);
|
||||||
// Save current item on exit
|
// Save current item on exit
|
||||||
saveEditedRule();
|
saveEditedRule();
|
||||||
|
|
|
@ -82,7 +82,7 @@ private slots:
|
||||||
void updateFieldsToolTips(bool regex);
|
void updateFieldsToolTips(bool regex);
|
||||||
void updateMustLineValidity();
|
void updateMustLineValidity();
|
||||||
void updateMustNotLineValidity();
|
void updateMustNotLineValidity();
|
||||||
void on_finished(int result);
|
void onFinished(int result);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
RssDownloadRulePtr getCurrentRule() const;
|
RssDownloadRulePtr getCurrentRule() const;
|
||||||
|
|
|
@ -759,8 +759,6 @@ RSSImp::RSSImp(QWidget *parent):
|
||||||
connect(listArticles, SIGNAL(itemSelectionChanged()), this, SLOT(refreshTextBrowser()));
|
connect(listArticles, SIGNAL(itemSelectionChanged()), this, SLOT(refreshTextBrowser()));
|
||||||
connect(listArticles, SIGNAL(itemDoubleClicked(QListWidgetItem *)), this, SLOT(downloadSelectedTorrents()));
|
connect(listArticles, SIGNAL(itemDoubleClicked(QListWidgetItem *)), this, SLOT(downloadSelectedTorrents()));
|
||||||
|
|
||||||
// Refresh all feeds
|
|
||||||
m_rssManager->refresh();
|
|
||||||
// Restore sliders position
|
// Restore sliders position
|
||||||
restoreSlidersPosition();
|
restoreSlidersPosition();
|
||||||
// Bind saveSliders slots
|
// Bind saveSliders slots
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue