From d7451834f35d0b20a351cb022c2228d49e9e9096 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 25 Dec 2024 15:29:34 +0000 Subject: [PATCH] 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 a456b10420b564f265500adf3dc2bd0c063ce778) Co-authored-by: Joshua Goins --- src/qml/QuickSwitcher.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qml/QuickSwitcher.qml b/src/qml/QuickSwitcher.qml index 05aee2928..9888940bd 100644 --- a/src/qml/QuickSwitcher.qml +++ b/src/qml/QuickSwitcher.qml @@ -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