diff --git a/src/gui/fspathedit.cpp b/src/gui/fspathedit.cpp index 2f9b0ee70..f14bc99b7 100644 --- a/src/gui/fspathedit.cpp +++ b/src/gui/fspathedit.cpp @@ -190,7 +190,7 @@ FileSystemPathEdit::FileSystemPathEdit(Private::FileEditorWithCompletion *editor layout->addWidget(editor->widget()); layout->addWidget(d->m_browseBtn); - connect(d->m_browseAction, &QAction::triggered, [this]() {this->d_func()->browseActionTriggered();}); + connect(d->m_browseAction, &QAction::triggered, this, [this]() { this->d_func()->browseActionTriggered(); }); } FileSystemPathEdit::~FileSystemPathEdit() = default; diff --git a/src/gui/optionsdlg.cpp b/src/gui/optionsdlg.cpp index 6a1ae2cbe..a8d11efe2 100644 --- a/src/gui/optionsdlg.cpp +++ b/src/gui/optionsdlg.cpp @@ -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); diff --git a/src/gui/transferlistwidget.cpp b/src/gui/transferlistwidget.cpp index e46303923..4fd07a250 100644 --- a/src/gui/transferlistwidget.cpp +++ b/src/gui/transferlistwidget.cpp @@ -132,7 +132,7 @@ namespace , m_sizeHint(QCheckBox(m_text).sizeHint()) { m_checkBox->setCheckState(initialState); - connect(m_checkBox, &QCheckBox::stateChanged, [this, onToggle](int newState) + connect(m_checkBox, &QCheckBox::stateChanged, this, [this, onToggle](int newState) { m_checkBox->setTristate(false); onToggle(static_cast(newState));