Fix crash when closing room directory window

pull/1062/head
Nicolas Werner 2 years ago
parent 5bb0c676bd
commit 7ebf43ce38
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 4
      resources/qml/Root.qml
  2. 5
      resources/qml/dialogs/RoomDirectory.qml

@ -29,6 +29,10 @@ Pane {
id: fontMetrics
}
RoomDirectoryModel {
id: publicRooms
}
//Timer {
// onTriggered: gc()
// interval: 1000

@ -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

Loading…
Cancel
Save