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
|
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…
Reference in a new issue