From 0fee135997438c63ab30891ec7e662093ec57491 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Tue, 3 Nov 2020 13:50:53 +0100 Subject: [PATCH] qt: Make audit parameters of result signal optional lang/qt/src/quickjob.h (QuickJob::result): Make parameters auditLogAsHtml and audigLogError optional. -- This aligns the signature of QuickJob's result signal with the result signals of the other Job subclasses. GnuPG-bug-id: 5094 --- NEWS | 2 ++ lang/qt/src/quickjob.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index a087dd13..cc734987 100644 --- a/NEWS +++ b/NEWS @@ -38,6 +38,8 @@ Noteworthy changes in version 1.14.1 (unreleased) cpp: UserID::Signature::operator< NEW. qt: operator<<(QDebug debug, const GpgME::Error &err) NEW. qt: QuickJob::startRevokeSignature NEW. + qt: QuickJob::result CHANGED: Made params 'auditLogAsHtml' + and 'auditLogError' optional. Noteworthy changes in version 1.14.0 (2020-07-16) diff --git a/lang/qt/src/quickjob.h b/lang/qt/src/quickjob.h index 82c9d89d..5d3473fd 100644 --- a/lang/qt/src/quickjob.h +++ b/lang/qt/src/quickjob.h @@ -87,7 +87,7 @@ public: Q_SIGNALS: void result(const GpgME::Error &error, - const QString &auditLogAsHtml, const GpgME::Error &auditLogError); + const QString &auditLogAsHtml = QString(), const GpgME::Error &auditLogError = GpgME::Error()); }; }