diff options
author | Marius Kintel <marius@kintel.net> | 2011-10-31 22:56:35 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-10-31 22:56:35 (GMT) |
commit | cb56f700b1b0f4ae589da62a5fd1d4e368deb604 (patch) | |
tree | 62fe4e42ca983c3b2b8c97fdd377861c112b27cc /tests/echotest.cc | |
parent | 759446d6c3b8f10a95c6d4bf74f9b95a5821565b (diff) |
de-Qt'ified printutils
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) |