aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/tests/run-encryptarchivejob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lang/qt/tests/run-encryptarchivejob.cpp')
-rw-r--r--lang/qt/tests/run-encryptarchivejob.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/qt/tests/run-encryptarchivejob.cpp b/lang/qt/tests/run-encryptarchivejob.cpp
index 2d9c09a3..87781fd9 100644
--- a/lang/qt/tests/run-encryptarchivejob.cpp
+++ b/lang/qt/tests/run-encryptarchivejob.cpp
@@ -34,6 +34,7 @@
#include "config.h"
#endif
+#include <debug.h>
#include <protocol.h>
#include <encryptarchivejob.h>
#include <signencryptarchivejob.h>
@@ -176,7 +177,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 {
@@ -207,7 +208,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;
}
}