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("rem@gnupg.org", remark.toUtf8().constData()); }