Browse Source

Removes several warnings related with RSS

adaptive-webui-19844
ngosang 10 years ago
parent
commit
90a18da499
  1. 4
      src/gui/rss/automatedrssdownloader.cpp
  2. 2
      src/gui/rss/automatedrssdownloader.h
  3. 2
      src/gui/rss/rss_imp.cpp

4
src/gui/rss/automatedrssdownloader.cpp

@ -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();

2
src/gui/rss/automatedrssdownloader.h

@ -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;

2
src/gui/rss/rss_imp.cpp

@ -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…
Cancel
Save