qt: Allow adding empty remarks
* lang/qt/src/qgpgmesignkeyjob.cpp (sign_key): Allow empty remarks.
This commit is contained in:
parent
174caaa6f5
commit
d61491dd25
@ -82,7 +82,7 @@ static QGpgMESignKeyJob::result_type sign_key(Context *ctx, const Key &key, cons
|
|||||||
skei->setDupeOk(true);
|
skei->setDupeOk(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!remark.isEmpty()) {
|
if (!remark.isNull()) {
|
||||||
ctx->addSignatureNotation("rem@gnupg.org", remark.toUtf8().constData());
|
ctx->addSignatureNotation("rem@gnupg.org", remark.toUtf8().constData());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user