diff options
Diffstat (limited to 'lang/qt/tests/run-receivekeysjob.cpp')
-rw-r--r-- | lang/qt/tests/run-receivekeysjob.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/qt/tests/run-receivekeysjob.cpp b/lang/qt/tests/run-receivekeysjob.cpp index 6bfe047f..44553218 100644 --- a/lang/qt/tests/run-receivekeysjob.cpp +++ b/lang/qt/tests/run-receivekeysjob.cpp @@ -34,6 +34,7 @@ #include "config.h" #endif +#include <debug.h> #include <gpgme++/importresult.h> #include <protocol.h> #include <receivekeysjob.h> @@ -58,7 +59,7 @@ int main(int argc, char **argv) auto job = QGpgME::openpgp()->receiveKeysJob(); const auto result = job->exec(keyIds); - std::cout << "Result: " << result.error().asString() << std::endl; + std::cout << "Result: " << result.error() << std::endl; std::cout << "Details:\n" << result << std::endl; return 0; |