mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-21 13:48:08 +00:00
feat(ui/views/App/Calls/Incall): use Connections component
This commit is contained in:
parent
d366168530
commit
80fdfd233c
1 changed files with 5 additions and 3 deletions
|
|
@ -43,8 +43,10 @@ Rectangle {
|
|||
// Handle video requests.
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
SmartConnect {
|
||||
Component.onCompleted: this.connect(call, 'videoRequested', function () {
|
||||
Connections {
|
||||
target: call
|
||||
|
||||
onVideoRequested: {
|
||||
var dialog
|
||||
|
||||
// Close dialog after 10s.
|
||||
|
|
@ -79,7 +81,7 @@ Rectangle {
|
|||
},
|
||||
title: qsTr('acceptVideoTitle')
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue