diff options
| author | Andre Heinecke <[email protected]> | 2019-11-01 11:05:47 +0000 |
|---|---|---|
| committer | Andre Heinecke <[email protected]> | 2019-11-01 11:05:47 +0000 |
| commit | d61491dd25d86a2bee54e4be29b715d97840be67 (patch) | |
| tree | aaecd35fd7b13b4d29e91bb94ce724882e9d7cd6 | |
| parent | cpp: Minor optimization in remark lookup (diff) | |
| download | gpgme-d61491dd25d86a2bee54e4be29b715d97840be67.tar.gz gpgme-d61491dd25d86a2bee54e4be29b715d97840be67.zip | |
qt: Allow adding empty remarks
* lang/qt/src/qgpgmesignkeyjob.cpp (sign_key): Allow empty
remarks.
| -rw-r--r-- | lang/qt/src/qgpgmesignkeyjob.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/qt/src/qgpgmesignkeyjob.cpp b/lang/qt/src/qgpgmesignkeyjob.cpp index 7f79cb56..7cd10eb5 100644 --- a/lang/qt/src/qgpgmesignkeyjob.cpp +++ b/lang/qt/src/qgpgmesignkeyjob.cpp @@ -82,7 +82,7 @@ static QGpgMESignKeyJob::result_type sign_key(Context *ctx, const Key &key, cons skei->setDupeOk(true); } - if (!remark.isEmpty()) { + if (!remark.isNull()) { ctx->addSignatureNotation("[email protected]", remark.toUtf8().constData()); } |
