diff options
Diffstat (limited to 'lang/qt/tests/run-exportjob.cpp')
-rw-r--r-- | lang/qt/tests/run-exportjob.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/qt/tests/run-exportjob.cpp b/lang/qt/tests/run-exportjob.cpp index 6cb43c22..ed6f8912 100644 --- a/lang/qt/tests/run-exportjob.cpp +++ b/lang/qt/tests/run-exportjob.cpp @@ -34,6 +34,7 @@ #include "config.h" #endif +#include <debug.h> #include <exportjob.h> #include <protocol.h> @@ -106,7 +107,7 @@ int main(int argc, char *argv[]) QObject::connect(job, &QGpgME::ExportJob::result, &app, [&app] (const GpgME::Error &err, const QByteArray &keyData, const QString &, const GpgME::Error &) { if (err) { - cerr << "The ChangeExpiryJob failed with" << err.asString() << "."; + cerr << "The ChangeExpiryJob failed with" << err << "."; app.exit(1); return; } |