aboutsummaryrefslogtreecommitdiff
path: root/lib/room.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-09-25 11:21:50 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-09-25 11:35:07 +0900
commitf5c2e47fa1ab84fdaffe03c30ba973d7dea5ac05 (patch)
tree5c067d8adb1da191c30a5f72143b5bf1681690d9 /lib/room.h
parent9fb5fd1181fc74a040630df333a20ddd29cd7b28 (diff)
downloadlibquotient-f5c2e47fa1ab84fdaffe03c30ba973d7dea5ac05.tar.gz
libquotient-f5c2e47fa1ab84fdaffe03c30ba973d7dea5ac05.zip
Room::addTag: fix the QML-friendly overload's parameter
TagRecord::order_type is float now, not QString.
Diffstat (limited to 'lib/room.h')
-rw-r--r--lib/room.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/room.h b/lib/room.h
index c71d10e0..b81af69e 100644
--- a/lib/room.h
+++ b/lib/room.h
@@ -262,7 +262,8 @@ namespace QMatrixClient
* clients.
*/
void addTag(const QString& name, const TagRecord& record = {});
- Q_INVOKABLE void addTag(const QString& name, const QString& order);
+ Q_INVOKABLE void addTag(const QString& name,
+ TagRecord::order_type order);
/// Remove a tag from the room
Q_INVOKABLE void removeTag(const QString& name);