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:
committed by
Tobias Fella
parent
c905d2d6fb
commit
83f19b0631
@@ -123,7 +123,7 @@ SearchPage {
|
|||||||
QtObject {
|
QtObject {
|
||||||
id: _private
|
id: _private
|
||||||
function openManualRoomDialog() {
|
function openManualRoomDialog() {
|
||||||
let dialog = manualRoomDialog.createObject(applicationWindow().overlay, {
|
let dialog = manualRoomDialog.createObject(root.QQC2.Overlay.overlay, {
|
||||||
connection: root.connection
|
connection: root.connection
|
||||||
});
|
});
|
||||||
dialog.parent = root.Window.window.overlay;
|
dialog.parent = root.Window.window.overlay;
|
||||||
|
|||||||
Reference in New Issue
Block a user