Fix crash when closing room directory window

This commit is contained in:
Nicolas Werner 2022-07-01 00:41:50 +02:00
parent 5bb0c676bd
commit 7ebf43ce38
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
2 changed files with 4 additions and 5 deletions

View file

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

View file

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