diff --git a/resources/qml/voip/ScreenShare.qml b/resources/qml/voip/ScreenShare.qml index 2337f6d0..7f8665bc 100644 --- a/resources/qml/voip/ScreenShare.qml +++ b/resources/qml/voip/ScreenShare.qml @@ -47,7 +47,7 @@ Popup { Layout.fillWidth: true model: CallManager.screenShareTypeList() - onCurrentIndexChanged: CallManager.setVoip(currentIndex); + onCurrentIndexChanged: CallManager.setScreenShareType(currentIndex); } } diff --git a/src/voip/CallManager.h b/src/voip/CallManager.h index e84b79c9..c0fd0831 100644 --- a/src/voip/CallManager.h +++ b/src/voip/CallManager.h @@ -27,7 +27,7 @@ struct TurnServer; class QUrl; -class CallManager final : public QObject +class CallManager : public QObject { Q_OBJECT