summary refs log tree commit diff
path: root/resources/qml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml')
-rw-r--r--resources/qml/Root.qml4
-rw-r--r--resources/qml/dialogs/RoomDirectory.qml5
2 files changed, 4 insertions, 5 deletions
diff --git a/resources/qml/Root.qml b/resources/qml/Root.qml
index 86ddc649..1ea26742 100644
--- a/resources/qml/Root.qml
+++ b/resources/qml/Root.qml
@@ -29,6 +29,10 @@ Pane {
         id: fontMetrics
     }
 
+    RoomDirectoryModel {
+        id: publicRooms
+    }
+
     //Timer {
     //    onTriggered: gc()
     //    interval: 1000
diff --git a/resources/qml/dialogs/RoomDirectory.qml b/resources/qml/dialogs/RoomDirectory.qml
index 90475eea..c848f118 100644
--- a/resources/qml/dialogs/RoomDirectory.qml
+++ b/resources/qml/dialogs/RoomDirectory.qml
@@ -13,8 +13,6 @@ import im.nheko 1.0
 ApplicationWindow {
     id: roomDirectoryWindow
 
-    property RoomDirectoryModel publicRooms
-
     visible: true
     minimumWidth: 340
     minimumHeight: 340
@@ -152,9 +150,6 @@ ApplicationWindow {
 
     }
 
-    publicRooms: RoomDirectoryModel {
-    }
-
     header: RowLayout {
         id: searchBarLayout