diff options
Diffstat (limited to 'tests/echotest.cc')
-rw-r--r-- | tests/echotest.cc | 4 |
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) |