Commit f8d19387 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use qOverload directly (scripted)

parent aa742257
Pipeline #77312 passed with stage
in 6 minutes and 48 seconds
......@@ -218,7 +218,7 @@ void Key::publishPKS()
const char *gpgName = GpgME::engineInfo(GpgME::OpenPGP).fileName();
auto gpgProcess = new QProcess;
gpgProcess->setProperty("keyServer", keyServer);
connect(gpgProcess, QOverload<int, QProcess::ExitStatus>::of(&QProcess::finished), this, &Key::onPKSPublishingFinished);
connect(gpgProcess, qOverload<int, QProcess::ExitStatus>(&QProcess::finished), this, &Key::onPKSPublishingFinished);
mJob = gpgProcess;
gpgProcess->start(QString::fromLatin1(gpgName),
{QStringLiteral("--keyserver"), keyServer, QStringLiteral("--send-keys"), QString::fromLatin1(m_key.primaryFingerprint())});
......
......@@ -50,7 +50,7 @@ PersonalDataPage::PersonalDataPage(Dialog *parent)
connect(ui.emailEdit, &QLineEdit::textChanged, this, &PersonalDataPage::slotTextChanged);
connect(ui.nameEdit, &QLineEdit::textChanged, this, &PersonalDataPage::slotTextChanged);
connect(ui.createAccountPb, &QPushButton::clicked, this, &PersonalDataPage::slotCreateAccountClicked);
connect(ui.buttonGroup, QOverload<QAbstractButton *>::of(&QButtonGroup::buttonClicked), this, &PersonalDataPage::slotRadioButtonClicked);
connect(ui.buttonGroup, qOverload<QAbstractButton *>(&QButtonGroup::buttonClicked), this, &PersonalDataPage::slotRadioButtonClicked);
#ifdef KDEPIM_ENTERPRISE_BUILD
ui.checkOnlineGroupBox->setChecked(false);
#endif
......
Supports Markdown
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