aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/tests/run-encryptjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lang/qt/tests/run-encryptjob.cpp')
-rw-r--r--lang/qt/tests/run-encryptjob.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/qt/tests/run-encryptjob.cpp b/lang/qt/tests/run-encryptjob.cpp
index 47e6e248..14c8ea44 100644
--- a/lang/qt/tests/run-encryptjob.cpp
+++ b/lang/qt/tests/run-encryptjob.cpp
@@ -34,6 +34,7 @@
#include "config.h"
#endif
+#include <debug.h>
#include <protocol.h>
#include <encryptjob.h>
#include <signencryptjob.h>
@@ -157,7 +158,7 @@ int main(int argc, char **argv)
err = job->startIt();
}
if (err) {
- std::cerr << "Error: Starting the job failed: " << err.asString() << std::endl;
+ std::cerr << "Error: Starting the job failed: " << err << std::endl;
return 1;
}
} else {
@@ -189,7 +190,7 @@ int main(int argc, char **argv)
err = job->startIt();
}
if (err) {
- std::cerr << "Error: Starting the job failed: " << err.asString() << std::endl;
+ std::cerr << "Error: Starting the job failed: " << err << std::endl;
return 1;
}
}