diff --git a/lang/qt/src/refreshkeysjob.h b/lang/qt/src/refreshkeysjob.h index 92b3b8f4..6bd748ac 100644 --- a/lang/qt/src/refreshkeysjob.h +++ b/lang/qt/src/refreshkeysjob.h @@ -88,7 +88,7 @@ public: virtual GpgME::Error start(const std::vector &keys) = 0; Q_SIGNALS: - void result(const GpgME::Error &result, const QString &auditLogAsHtml = {}, const GpgME::Error &auditLogError = {}); + void result(const GpgME::Error &result); }; } diff --git a/lang/qt/tests/run-refreshkeysjob.cpp b/lang/qt/tests/run-refreshkeysjob.cpp index 4c8f4086..aa9a6d62 100644 --- a/lang/qt/tests/run-refreshkeysjob.cpp +++ b/lang/qt/tests/run-refreshkeysjob.cpp @@ -140,7 +140,7 @@ int main(int argc, char **argv) std::cerr << "Error: Could not create job to refresh S/MIME key" << std::endl; return 1; } - QObject::connect(job, &QGpgME::RefreshKeysJob::result, &app, [](const GpgME::Error &err, const QString &, const GpgME::Error &) { + QObject::connect(job, &QGpgME::RefreshKeysJob::result, &app, [](const GpgME::Error &err) { std::cout << "Result: " << err.asString() << std::endl; qApp->quit(); });