Hide call recording options if disableCallRecordings is set
This commit is contained in:
parent
094f265a9f
commit
7b19b79156
2 changed files with 2 additions and 1 deletions
|
|
@ -35,6 +35,7 @@ AbstractSettingsLayout {
|
||||||
subTitleText: qsTr("Enregistrer tous les appels par défaut")
|
subTitleText: qsTr("Enregistrer tous les appels par défaut")
|
||||||
propertyName: "automaticallyRecordCallsEnabled"
|
propertyName: "automaticallyRecordCallsEnabled"
|
||||||
propertyOwner: SettingsCpp
|
propertyOwner: SettingsCpp
|
||||||
|
visible: !SettingsCpp.disableCallRecordings
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1623,7 +1623,7 @@ AbstractWindow {
|
||||||
}
|
}
|
||||||
MenuButton {
|
MenuButton {
|
||||||
checkable: true
|
checkable: true
|
||||||
visible: mainWindow.call && !mainWindow.conference
|
visible: mainWindow.call && !mainWindow.conference && !SettingsCpp.disableCallRecordings
|
||||||
enabled: mainWindow.call && mainWindow.call.core.recordable
|
enabled: mainWindow.call && mainWindow.call.core.recordable
|
||||||
icon.source: AppIcons.recordFill
|
icon.source: AppIcons.recordFill
|
||||||
icon.width: 32 * DefaultStyle.dp
|
icon.width: 32 * DefaultStyle.dp
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue