diff --git a/Linphone/model/core/CoreModel.cpp b/Linphone/model/core/CoreModel.cpp index fce591bfb..f7d048dce 100644 --- a/Linphone/model/core/CoreModel.cpp +++ b/Linphone/model/core/CoreModel.cpp @@ -85,9 +85,9 @@ void CoreModel::start() { // Useful if the app was built without video support. // (The capture/display attributes are reset by the core in this case.) auto config = mCore->getConfig(); - if (mCore->videoSupported()) { - config->setInt("video", "capture", 1); - config->setInt("video", "display", 1); + if (!mCore->videoSupported()) { + config->setInt("video", "capture", 0); + config->setInt("video", "display", 0); } // TODO : set the real transport type when sdk will be updated diff --git a/Linphone/view/Page/Layout/Main/MainLayout.qml b/Linphone/view/Page/Layout/Main/MainLayout.qml index d2dcf4a19..b9b4bf7c8 100644 --- a/Linphone/view/Page/Layout/Main/MainLayout.qml +++ b/Linphone/view/Page/Layout/Main/MainLayout.qml @@ -1,8 +1,3 @@ - - -/** -* Qml template used for welcome and login/register pages -**/ import QtCore import QtQuick import QtQuick.Layouts