aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2020-11-03 12:50:53 +0000
committerIngo Klöcker <[email protected]>2020-11-03 12:50:53 +0000
commit0fee135997438c63ab30891ec7e662093ec57491 (patch)
tree549ccce6d08a029165476ccdc3b299ceee2e0b36
parentcpp: Mark helper functions as static (diff)
downloadgpgme-0fee135997438c63ab30891ec7e662093ec57491.tar.gz
gpgme-0fee135997438c63ab30891ec7e662093ec57491.zip
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
-rw-r--r--NEWS2
-rw-r--r--lang/qt/src/quickjob.h2
2 files changed, 3 insertions, 1 deletions
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());
};
}