qt: Avoid empty "rem@gnupg.org" signature notations
* lang/qt/src/qgpgmesignkeyjob.cpp (sign_key): Check remark for being an empty string instead of a null QString. -- GnuPG-bug-id: 5142 Co-authored-by: Daniel Kahn Gillmor
This commit is contained in:
parent
223779dfde
commit
3c185c2159
@ -83,7 +83,7 @@ static QGpgMESignKeyJob::result_type sign_key(Context *ctx, const Key &key, cons
|
||||
skei->setDupeOk(true);
|
||||
}
|
||||
|
||||
if (!remark.isNull()) {
|
||||
if (!remark.isEmpty()) {
|
||||
ctx->addSignatureNotation("rem@gnupg.org", remark.toUtf8().constData());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user