mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 12:38:48 +03:00
Fix crash when closing room directory window
This commit is contained in:
parent
5bb0c676bd
commit
7ebf43ce38
2 changed files with 4 additions and 5 deletions
|
@ -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…
Reference in a new issue