mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
to test
s
This commit is contained in:
parent
4d426962d2
commit
c66d9cb04f
2 changed files with 10 additions and 1 deletions
|
|
@ -155,11 +155,16 @@ ColumnLayout {
|
|||
}
|
||||
}
|
||||
Button {
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
visible: mainItem.screenSharingAvailable
|
||||
enabled: windowsLayout.currentIndex !== -1 || screensLayout.currentIndex !== -1
|
||||
text: mainItem.conference && mainItem.conference.core.isLocalScreenSharing
|
||||
? qsTr("Stop")
|
||||
: qsTr("Partager")
|
||||
onClicked: mainItem.conference.core.lToggleScreenSharing()
|
||||
leftPadding: 20 * DefaultStyle.dp
|
||||
rightPadding: 20 * DefaultStyle.dp
|
||||
topPadding: 11 * DefaultStyle.dp
|
||||
bottomPadding: 11 * DefaultStyle.dp
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -85,7 +85,11 @@ AbstractWindow {
|
|||
}
|
||||
|
||||
function endCall(callToFinish) {
|
||||
if (callToFinish) callToFinish.core.lTerminate()
|
||||
if (callToFinish) {
|
||||
if (callToFinish && callToFinish.conference && callToFinish.conference.core.isScreenSharingEnabled)
|
||||
callToFinish.conference.core.lToggleScreenSharing()
|
||||
callToFinish.core.lTerminate()
|
||||
}
|
||||
// var mainWin = UtilsCpp.getMainWindow()
|
||||
// mainWin.goToCallHistory()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue