From 83f19b063182a3004a9a31a7edccfd5b94d117c2 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 30 Oct 2024 22:03:10 -0400 Subject: [PATCH] ExploreRoomsPage: Fix "Enter a room address" button not working This was due to an undefined applicationWindow singleton, but we don't actually need it and can use Overlay.overlay directly. --- src/qml/ExploreRoomsPage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/ExploreRoomsPage.qml b/src/qml/ExploreRoomsPage.qml index 379c5f841..9383d63d6 100644 --- a/src/qml/ExploreRoomsPage.qml +++ b/src/qml/ExploreRoomsPage.qml @@ -123,7 +123,7 @@ SearchPage { QtObject { id: _private function openManualRoomDialog() { - let dialog = manualRoomDialog.createObject(applicationWindow().overlay, { + let dialog = manualRoomDialog.createObject(root.QQC2.Overlay.overlay, { connection: root.connection }); dialog.parent = root.Window.window.overlay;