1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Removes several warnings related with RSS

This commit is contained in:
ngosang 2015-02-11 01:39:27 +01:00
parent 0058abeefa
commit 90a18da499
3 changed files with 3 additions and 5 deletions

View File

@ -107,7 +107,7 @@ AutomatedRssDownloader::AutomatedRssDownloader(const QWeakPointer<RssManager>& m
Q_ASSERT(ok);
ok = connect(ui->checkRegex, SIGNAL(stateChanged(int)), SLOT(updateMustNotLineValidity()));
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);
ok = connect(ui->lineEFilter, SIGNAL(textEdited(QString)), SLOT(updateMatchingArticles()));
Q_ASSERT(ok);
@ -635,7 +635,7 @@ void AutomatedRssDownloader::updateMustNotLineValidity()
}
}
void AutomatedRssDownloader::on_finished(int result) {
void AutomatedRssDownloader::onFinished(int result) {
Q_UNUSED(result);
// Save current item on exit
saveEditedRule();

View File

@ -82,7 +82,7 @@ private slots:
void updateFieldsToolTips(bool regex);
void updateMustLineValidity();
void updateMustNotLineValidity();
void on_finished(int result);
void onFinished(int result);
private:
RssDownloadRulePtr getCurrentRule() const;

View File

@ -759,8 +759,6 @@ RSSImp::RSSImp(QWidget *parent):
connect(listArticles, SIGNAL(itemSelectionChanged()), this, SLOT(refreshTextBrowser()));
connect(listArticles, SIGNAL(itemDoubleClicked(QListWidgetItem *)), this, SLOT(downloadSelectedTorrents()));
// Refresh all feeds
m_rssManager->refresh();
// Restore sliders position
restoreSlidersPosition();
// Bind saveSliders slots