summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-06-28 17:07:49 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-06-28 17:07:49 +0200
commit28445bd469d7178c77cc3493a9644171f743caee (patch)
treeb729a9578e018075c5b576bd7fb19f3542191f4c /src
parentFix build against fmt10 (diff)
downloadnheko-28445bd469d7178c77cc3493a9644171f743caee.tar.xz
Rework how history settings are represented
Diffstat (limited to 'src')
-rw-r--r--src/ui/RoomSettings.h3
1 files changed, 3 insertions, 0 deletions
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)