Add context parameter in connect()

This commit is contained in:
Chocobo1 2018-03-09 01:22:29 +08:00
commit a3d9e457a0
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
3 changed files with 3 additions and 3 deletions

View file

@ -392,7 +392,7 @@ OptionsDialog::OptionsDialog(QWidget *parent)
connect(m_ui->textSmartEpisodeFilters, &QPlainTextEdit::textChanged, this, &OptionsDialog::enableApplyButton);
connect(m_ui->spinRSSRefreshInterval, qSpinBoxValueChanged, this, &OptionsDialog::enableApplyButton);
connect(m_ui->spinRSSMaxArticlesPerFeed, qSpinBoxValueChanged, this, &OptionsDialog::enableApplyButton);
connect(m_ui->btnEditRules, &QPushButton::clicked, [this]() { AutomatedRssDownloader(this).exec(); });
connect(m_ui->btnEditRules, &QPushButton::clicked, this, [this]() { AutomatedRssDownloader(this).exec(); });
// Disable apply Button
applyButton->setEnabled(false);