aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-12-10 16:32:24 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-12-10 16:32:24 +0900
commit5a5ae02e1eb9d58b162d8e3c0b3f837a6719d38f (patch)
treeb549b9c3dbd71f2e9a705876620ca3c2bcd354af
parentd8a7d9cbef6d90b6b15ffbf26bf43f5555dbaefd (diff)
downloadlibquotient-5a5ae02e1eb9d58b162d8e3c0b3f837a6719d38f.tar.gz
libquotient-5a5ae02e1eb9d58b162d8e3c0b3f837a6719d38f.zip
Fixed compilation with older Qt
-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;
}
});
}