diff --git a/linphone-desktop/ui/views/App/Calls/Incall.qml b/linphone-desktop/ui/views/App/Calls/Incall.qml index 15f3800d0..a05f452c4 100644 --- a/linphone-desktop/ui/views/App/Calls/Incall.qml +++ b/linphone-desktop/ui/views/App/Calls/Incall.qml @@ -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') }) - }) + } } // ---------------------------------------------------------------------------