diff options
author | Black Hat <bhat@encom.eu.org> | 2018-07-22 11:44:32 +0800 |
---|---|---|
committer | Black Hat <bhat@encom.eu.org> | 2018-07-22 11:44:32 +0800 |
commit | 04d463a4347f54e66687a99fbc906923e50bcad1 (patch) | |
tree | 2773094551ba6674ec57c0eae25ccf0be743d600 | |
parent | 287eccb4b7f88a52cd191ae208009335fca7e907 (diff) | |
download | libquotient-04d463a4347f54e66687a99fbc906923e50bcad1.tar.gz libquotient-04d463a4347f54e66687a99fbc906923e50bcad1.zip |
Change order data type.
-rw-r--r-- | lib/room.cpp | 2 | ||||
-rw-r--r-- | lib/room.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/room.cpp b/lib/room.cpp index 4330cddc..1668fdb7 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -684,7 +684,7 @@ void Room::addTag(const QString& name, const TagRecord& record) d->broadcastTagUpdates(); } -void Room::addTag(const QString &name, int order) +void Room::addTag(const QString& name, const QString& order) { addTag(name, TagRecord{order}); } @@ -301,7 +301,7 @@ namespace QMatrixClient * clients. */ void addTag(const QString& name, const TagRecord& record = {}); - Q_INVOKABLE void addTag(const QString& name, int order); + Q_INVOKABLE void addTag(const QString& name, const QString& order); /** Remove a tag from the room */ Q_INVOKABLE void removeTag(const QString& name); |