From ced57b074d0dc4e6e582a4bddca7a07e41d2063f Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Tue, 12 Mar 2019 21:16:54 +0900 Subject: Make Room::prettyPrint Q_INVOKABLE So that it can be called from QML code --- lib/room.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/room.h') diff --git a/lib/room.h b/lib/room.h index f4ecef42..f7add412 100644 --- a/lib/room.h +++ b/lib/room.h @@ -365,7 +365,7 @@ namespace QMatrixClient * in the future, it will also linkify room aliases, mxids etc. * using the room context. */ - QString prettyPrint(const QString& plainText) const; + Q_INVOKABLE QString prettyPrint(const QString& plainText) const; MemberSorter memberSorter() const; -- cgit v1.2.3