1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
From 6254c0cefa17fe82f44842bc21f5e5c241f66aec Mon Sep 17 00:00:00 2001
From: Antonio Rojas <arojas@archlinux.org>
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
|