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 id: fontMetrics
} }
RoomDirectoryModel {
id: publicRooms
}
//Timer { //Timer {
// onTriggered: gc() // onTriggered: gc()
// interval: 1000 // interval: 1000

@ -13,8 +13,6 @@ import im.nheko 1.0
ApplicationWindow { ApplicationWindow {
id: roomDirectoryWindow id: roomDirectoryWindow
property RoomDirectoryModel publicRooms
visible: true visible: true
minimumWidth: 340 minimumWidth: 340
minimumHeight: 340 minimumHeight: 340
@ -152,9 +150,6 @@ ApplicationWindow {
} }
publicRooms: RoomDirectoryModel {
}
header: RowLayout { header: RowLayout {
id: searchBarLayout id: searchBarLayout

Loading…
Cancel
Save