diff --git a/resources/qml/Root.qml b/resources/qml/Root.qml index 86ddc649209c8ec2c293dcdfa1d7a640ef787a94..1ea267420b196efdcf5cc9576d3f2f8d4bf1e01b 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 90475eeaf4bff570305901565373d6c03cf32656..c848f118478ff29f4b791bcafbd2aa099e1e732b 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