qt: Revert change of result signal of RefreshKeysJob
* lang/qt/src/refreshkeysjob.h (RefreshKeysJob::result): Remove optional
parameters auditLogAsHtml and auditLogError.
* lang/qt/tests/run-refreshkeysjob.cpp (main): Update accordingly.
--
This reverts f4c3560925
. The reason for
the previous change does no longer apply.
GnuPG-bug-id: 5951
This commit is contained in:
parent
15a4940aa7
commit
9e8c8e448e
@ -88,7 +88,7 @@ public:
|
||||
virtual GpgME::Error start(const std::vector<GpgME::Key> &keys) = 0;
|
||||
|
||||
Q_SIGNALS:
|
||||
void result(const GpgME::Error &result, const QString &auditLogAsHtml = {}, const GpgME::Error &auditLogError = {});
|
||||
void result(const GpgME::Error &result);
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -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();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user