Skip to content

Commit

Permalink
Removes several warnings related with RSS
Browse files Browse the repository at this point in the history
  • Loading branch information
ngosang committed Feb 11, 2015
1 parent 0058abe commit 90a18da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/gui/rss/automatedrssdownloader.cpp
Expand Up @@ -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);
Expand Down Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion src/gui/rss/automatedrssdownloader.h
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions src/gui/rss/rss_imp.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 90a18da

Please sign in to comment.