From 298822baeaffdc83386e003099e34819bcd7d18c Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Fri, 28 May 2021 22:14:59 +0200 Subject: Move currentRoom/timeline handling to roomlist --- resources/qml/voip/ScreenShare.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'resources/qml/voip/ScreenShare.qml') diff --git a/resources/qml/voip/ScreenShare.qml b/resources/qml/voip/ScreenShare.qml index 258ac9b0..a10057b2 100644 --- a/resources/qml/voip/ScreenShare.qml +++ b/resources/qml/voip/ScreenShare.qml @@ -27,7 +27,7 @@ Popup { Layout.leftMargin: 8 Layout.rightMargin: 8 Layout.alignment: Qt.AlignLeft - text: qsTr("Share desktop with %1?").arg(TimelineManager.timeline.roomName) + text: qsTr("Share desktop with %1?").arg(room.roomName) color: Nheko.colors.windowText } @@ -136,7 +136,7 @@ Popup { Settings.screenSharePiP = pipCheckBox.checked; Settings.screenShareRemoteVideo = remoteVideoCheckBox.checked; Settings.screenShareHideCursor = hideCursorCheckBox.checked; - CallManager.sendInvite(TimelineManager.timeline.roomId(), CallType.SCREEN, windowCombo.currentIndex); + CallManager.sendInvite(room.roomId(), CallType.SCREEN, windowCombo.currentIndex); close(); } } -- cgit 1.5.1