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.


(cherry picked from commit a456b10420)

Co-authored-by: Joshua Goins <josh@redstrate.com>
This commit is contained in:
Joshua Goins
2024-12-25 15:29:34 +00:00
parent a4767cea7d
commit d7451834f3

View File

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