aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/tests/t-ownertrust.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lang/qt/tests/t-ownertrust.cpp')
-rw-r--r--lang/qt/tests/t-ownertrust.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/qt/tests/t-ownertrust.cpp b/lang/qt/tests/t-ownertrust.cpp
index d4385bf3..eb6c3db3 100644
--- a/lang/qt/tests/t-ownertrust.cpp
+++ b/lang/qt/tests/t-ownertrust.cpp
@@ -58,12 +58,14 @@ private Q_SLOTS:
Q_ASSERT (!result.error());
Q_ASSERT (keys.size() == 1);
Key key = keys.front();
- qDebug() << "Trust is: " << key.ownerTrust();
Q_ASSERT (key.ownerTrust() == Key::Unknown);
ChangeOwnerTrustJob *job2 = openpgp()->changeOwnerTrustJob();
connect(job2, &ChangeOwnerTrustJob::result, this, [this](Error e)
{
+ if (e) {
+ qDebug() << "Error in result: " << e.asString();
+ }
Q_ASSERT(!e);
Q_EMIT asyncDone();
});