From 28445bd469d7178c77cc3493a9644171f743caee Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Wed, 28 Jun 2023 17:07:49 +0200 Subject: Rework how history settings are represented --- src/ui/RoomSettings.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/ui/RoomSettings.h b/src/ui/RoomSettings.h index cf3ac032..5ca1e997 100644 --- a/src/ui/RoomSettings.h +++ b/src/ui/RoomSettings.h @@ -72,6 +72,9 @@ private: class RoomSettings final : public QObject { Q_OBJECT + QML_ELEMENT + QML_UNCREATABLE("") + Q_PROPERTY(QString roomId READ roomId CONSTANT) Q_PROPERTY(QString roomVersion READ roomVersion CONSTANT) Q_PROPERTY(QString roomName READ roomName NOTIFY roomNameChanged) -- cgit 1.5.1