Explicitly set the parent in QuickSwitcher

This sets the parent to the overlay, which makes sure it's actually
centered even when the right sidebar is opened.
This commit is contained in:
Joshua Goins
2024-12-24 20:57:35 -05:00
parent b7dee707a3
commit a456b10420

View File

@@ -27,6 +27,7 @@ Kirigami.SearchDialog {
onTextChanged: RoomManager.sortFilterRoomListModel.filterText = text
model: RoomManager.sortFilterRoomListModel
emptyText: i18nc("Placeholder message", "No room found")
parent: QQC2.Overlay.overlay
delegate: RoomDelegate {
connection: root.connection