Commit 80fdfd23 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(ui/views/App/Calls/Incall): use `Connections` component

parent d3661685
......@@ -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')
})
})
}
}
// ---------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment