From 02578dd38ff5ce170c21f4ba454b1e416e91dfde 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 e049208b5..a71b7e210 100644 --- a/src/qml/ExploreRoomsPage.qml +++ b/src/qml/ExploreRoomsPage.qml @@ -115,7 +115,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;