summaryrefslogtreecommitdiff
path: root/tests/echotest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/echotest.cc')
-rw-r--r--tests/echotest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/echotest.cc b/tests/echotest.cc
index 5b216f4..046f883 100644
--- a/tests/echotest.cc
+++ b/tests/echotest.cc
@@ -52,9 +52,9 @@ QString currentdir;
QString examplesdir;
QString librarydir;
-static void outfile_handler(const QString &msg, void *userdata) {
+static void outfile_handler(const std::string &msg, void *userdata) {
std::ostream *str = static_cast<std::ostream*>(userdata);
- *str << msg.toUtf8().data() << std::endl;
+ *str << msg << std::endl;
}
int main(int argc, char **argv)
contact: Jan Huwald // Impressum