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 { ...@@ -43,8 +43,10 @@ Rectangle {
// Handle video requests. // Handle video requests.
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
SmartConnect { Connections {
Component.onCompleted: this.connect(call, 'videoRequested', function () { target: call
onVideoRequested: {
var dialog var dialog
// Close dialog after 10s. // Close dialog after 10s.
...@@ -79,7 +81,7 @@ Rectangle { ...@@ -79,7 +81,7 @@ Rectangle {
}, },
title: qsTr('acceptVideoTitle') 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