diff --git a/src/qml/main.qml b/src/qml/main.qml index 201768d02..6c16d4d78 100644 --- a/src/qml/main.qml +++ b/src/qml/main.qml @@ -101,9 +101,9 @@ Kirigami.ApplicationWindow { } function onOpenRoomInNewWindow(room) { - const secondayWindow = roomWindow.createObject(applicationWindow(), {currentRoom: room}); - secondayWiroomWindowndow.width = root.width - pageStack.get(0).width; - secondayWindow.show(); + const secondaryWindow = roomWindow.createObject(undefined, {currentRoom: room}); + secondaryWindow.width = root.width - pageStack.get(0).width; + secondaryWindow.show(); } function onShowUserDetail(user) {