mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
feat(App): add an option to the linphonerc to disable calls windows
This commit is contained in:
parent
9ae752dfcf
commit
39ca751897
1 changed files with 5 additions and 0 deletions
|
|
@ -282,6 +282,11 @@ QString App::getCommandArgument () {
|
|||
// -----------------------------------------------------------------------------
|
||||
|
||||
QQuickWindow *App::getCallsWindow () {
|
||||
if (CoreManager::getInstance()->getCore()->getConfig()->getInt(
|
||||
SettingsModel::UI_SECTION, "disable_calls_window", 0
|
||||
))
|
||||
return nullptr;
|
||||
|
||||
if (!mCallsWindow)
|
||||
mCallsWindow = ::createSubWindow(mEngine, cQmlViewCallsWindow);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue