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.
This commit is contained in:
Joshua Goins
2024-10-30 22:03:10 -04:00
committed by Tobias Fella
parent c905d2d6fb
commit 83f19b0631

View File

@@ -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;