Commit 511a548e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port to QButtonGroup::idToggled

parent c6f11746
Pipeline #58784 failed with stage
in 25 minutes and 36 seconds
...@@ -47,7 +47,7 @@ UrlConfigurationDialog::UrlConfigurationDialog(QWidget *parent) ...@@ -47,7 +47,7 @@ UrlConfigurationDialog::UrlConfigurationDialog(QWidget *parent)
mRemoteProtocolGroup->addButton(mUi.caldav, KDAV::CalDav); mRemoteProtocolGroup->addButton(mUi.caldav, KDAV::CalDav);
mRemoteProtocolGroup->addButton(mUi.carddav, KDAV::CardDav); mRemoteProtocolGroup->addButton(mUi.carddav, KDAV::CardDav);
mRemoteProtocolGroup->addButton(mUi.groupdav, KDAV::GroupDav); mRemoteProtocolGroup->addButton(mUi.groupdav, KDAV::GroupDav);
connect(mRemoteProtocolGroup, QOverload<QAbstractButton *, bool>::of(&QButtonGroup::buttonToggled), this, &UrlConfigurationDialog::onConfigChanged); connect(mRemoteProtocolGroup, &QButtonGroup::idToggled, this, &UrlConfigurationDialog::onConfigChanged);
connect(mUi.remoteUrl, &QLineEdit::textChanged, this, &UrlConfigurationDialog::onConfigChanged); connect(mUi.remoteUrl, &QLineEdit::textChanged, this, &UrlConfigurationDialog::onConfigChanged);
connect(mUi.useDefaultCreds, &QRadioButton::toggled, this, &UrlConfigurationDialog::onConfigChanged); connect(mUi.useDefaultCreds, &QRadioButton::toggled, this, &UrlConfigurationDialog::onConfigChanged);
connect(mUi.username, &QLineEdit::textChanged, this, &UrlConfigurationDialog::onConfigChanged); connect(mUi.username, &QLineEdit::textChanged, this, &UrlConfigurationDialog::onConfigChanged);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment