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
This commit is contained in:
Ingo Klöcker 2020-11-03 13:50:53 +01:00
parent b41f5fec1c
commit 0fee135997
2 changed files with 3 additions and 1 deletions

2
NEWS
View File

@ -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)

View File

@ -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());
};
}