From 5fc8689bf231bf0d57353c6659c107f895e66be0 Mon Sep 17 00:00:00 2001 From: thunder2 Date: Mon, 23 Nov 2020 17:11:19 +0100 Subject: [PATCH] Fixed compile of FeedReader plugin with msys2 --- plugins/FeedReader/gui/FeedReaderConfig.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/FeedReader/gui/FeedReaderConfig.cpp b/plugins/FeedReader/gui/FeedReaderConfig.cpp index b55207e88..89456e3da 100644 --- a/plugins/FeedReader/gui/FeedReaderConfig.cpp +++ b/plugins/FeedReader/gui/FeedReaderConfig.cpp @@ -41,17 +41,17 @@ FeedReaderConfig::FeedReaderConfig(QWidget *parent, Qt::WindowFlags flags) connect(ui->storageTimeSpinBox, (void(QSpinBox::*)(int))&QSpinBox::valueChanged, this, [this]() { rsFeedReader->setStandardStorageTime(ui->storageTimeSpinBox->value() * 60 *60 * 24); }); - connect(ui->saveInBackgroundCheckBox, QCheckBox::toggled, this, [this]() { + connect(ui->saveInBackgroundCheckBox, &QCheckBox::toggled, this, [this]() { rsFeedReader->setSaveInBackground(ui->saveInBackgroundCheckBox->isChecked()); }); - connect(ui->setMsgToReadOnActivate, QCheckBox::toggled, this, [this]() { + connect(ui->setMsgToReadOnActivate, &QCheckBox::toggled, this, [this]() { Settings->setValueToGroup("FeedReaderDialog", "SetMsgToReadOnActivate", ui->setMsgToReadOnActivate->isChecked()); }); - connect(ui->openAllInNewTabCheckBox, QCheckBox::toggled, this, [this]() { + connect(ui->openAllInNewTabCheckBox, &QCheckBox::toggled, this, [this]() { Settings->setValueToGroup("FeedReaderDialog", "OpenAllInNewTab", ui->openAllInNewTabCheckBox->isChecked()); }); - connect(ui->useProxyCheckBox, QCheckBox::toggled, this, &FeedReaderConfig::updateProxy); - connect(ui->proxyAddressLineEdit, QLineEdit::textChanged, this, &FeedReaderConfig::updateProxy); + connect(ui->useProxyCheckBox, &QCheckBox::toggled, this, &FeedReaderConfig::updateProxy); + connect(ui->proxyAddressLineEdit, &QLineEdit::textChanged, this, &FeedReaderConfig::updateProxy); connect(ui->proxyPortSpinBox, (void(QSpinBox::*)(int))&QSpinBox::valueChanged, this, &FeedReaderConfig::updateProxy); connect(ui->useProxyCheckBox, SIGNAL(toggled(bool)), this, SLOT(useProxyToggled()));