From 6254c0cefa17fe82f44842bc21f5e5c241f66aec Mon Sep 17 00:00:00 2001 From: Antonio Rojas Date: Tue, 3 Jun 2025 23:13:39 +0200 Subject: [PATCH] Fix build with GPGME++ 2.0 GpgME::Error is no longer implicitly converted to a string --- ui/signaturedlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/signaturedlg.cpp b/ui/signaturedlg.cpp index 7c4a97f14..0b6a07853 100644 --- a/ui/signaturedlg.cpp +++ b/ui/signaturedlg.cpp @@ -185,7 +185,7 @@ void SignatureDlg::updateData() QByteArray fingerprint = fingerprintString.toLatin1(); const GpgME::Key key = context->key(fingerprint.constData(), err); if (err || key.isNull() || !key.numUserIDs() || !key.numSubkeys()) { - qCDebug(KGET_DEBUG) << "There was an error while loading the key:" << err; + qCDebug(KGET_DEBUG) << "There was an error while loading the key:" << err.asStdString(); } else { static const QStringList OWNERTRUST = QStringList() << i18nc("trust level", "Unknown") << i18nc("trust level", "Undefined") << i18nc("trust level", "Never") << i18nc("trust level", "Marginal") -- GitLab