From a456b10420b564f265500adf3dc2bd0c063ce778 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Tue, 24 Dec 2024 20:57:35 -0500 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. --- 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