aboutsummaryrefslogtreecommitdiff
path: root/examples/qmc-example.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qmc-example.cpp')
-rw-r--r--examples/qmc-example.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qmc-example.cpp b/examples/qmc-example.cpp
index 62ae8310..ff7944ce 100644
--- a/examples/qmc-example.cpp
+++ b/examples/qmc-example.cpp
@@ -29,7 +29,7 @@ void onNewRoom(Room* r)
<< r->roomMembername(e->senderId()).toStdString()
<< endl << "Timestamp:"
<< e->timestamp().toString().toStdString() << endl
- << "JSON:" << endl << e->originalJson().toStdString() << endl;
+ << "JSON:" << endl << string(e->originalJson()) << endl;
}
});
}