Commit 30e4c9a1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Not necessary to use qoverload here

parent 6f6c5cc2
Pipeline #82939 passed with stage
in 8 minutes and 43 seconds
...@@ -218,7 +218,7 @@ void Key::publishPKS() ...@@ -218,7 +218,7 @@ void Key::publishPKS()
const char *gpgName = GpgME::engineInfo(GpgME::OpenPGP).fileName(); const char *gpgName = GpgME::engineInfo(GpgME::OpenPGP).fileName();
auto gpgProcess = new QProcess; auto gpgProcess = new QProcess;
gpgProcess->setProperty("keyServer", keyServer); gpgProcess->setProperty("keyServer", keyServer);
connect(gpgProcess, qOverload<int, QProcess::ExitStatus>(&QProcess::finished), this, &Key::onPKSPublishingFinished); connect(gpgProcess, &QProcess::finished, this, &Key::onPKSPublishingFinished);
mJob = gpgProcess; mJob = gpgProcess;
gpgProcess->start(QString::fromLatin1(gpgName), gpgProcess->start(QString::fromLatin1(gpgName),
{QStringLiteral("--keyserver"), keyServer, QStringLiteral("--send-keys"), QString::fromLatin1(m_key.primaryFingerprint())}); {QStringLiteral("--keyserver"), keyServer, QStringLiteral("--send-keys"), QString::fromLatin1(m_key.primaryFingerprint())});
......
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