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
parent b83d42103f
commit 02578dd38f

View File

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