aboutsummaryrefslogtreecommitdiff
path: root/lib/room.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-03-12 21:16:54 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-03-12 21:16:54 +0900
commitced57b074d0dc4e6e582a4bddca7a07e41d2063f (patch)
treeb97afffd220ae204cf42789c22412dd88a84f52e /lib/room.h
parent8c685b4ae5b47e55a55f23e16ccbda0132cb60c5 (diff)
downloadlibquotient-ced57b074d0dc4e6e582a4bddca7a07e41d2063f.tar.gz
libquotient-ced57b074d0dc4e6e582a4bddca7a07e41d2063f.zip
Make Room::prettyPrint Q_INVOKABLE
So that it can be called from QML code
Diffstat (limited to 'lib/room.h')
-rw-r--r--lib/room.h2
1 files changed, 1 insertions, 1 deletions
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;