Skip to content
Snippets Groups Projects
Commit 3f2afd2c authored by Sébastien Blin's avatar Sébastien Blin
Browse files

sip: remove useless switchbox

This option is fully replaced by sded media exchange and the switch
is only enabling the two next checkboxes

Change-Id: Ida4736fd6aa8e2a9c5327aa3bc4b236ecaa0a69e
parent d2efaf59
No related branches found
No related tags found
No related merge requests found
...@@ -103,7 +103,6 @@ Item { ...@@ -103,7 +103,6 @@ Item {
// AdvancedSIPSecuritySettings && AdvancedJamiSecuritySettings // AdvancedSIPSecuritySettings && AdvancedJamiSecuritySettings
property string security: qsTr("Security") property string security: qsTr("Security")
property string encryptMediaStream: qsTr("Encrypt media streams (SRTP)")
property string enableSDES: qsTr("Enable SDES key exchange") property string enableSDES: qsTr("Enable SDES key exchange")
property string fallbackRTP: qsTr("Allow fallback on RTP") property string fallbackRTP: qsTr("Allow fallback on RTP")
property string encryptNegotiation: qsTr("Encrypt negotiation (TLS)") property string encryptNegotiation: qsTr("Encrypt negotiation (TLS)")
......
...@@ -60,22 +60,9 @@ ColumnLayout { ...@@ -60,22 +60,9 @@ ColumnLayout {
Layout.fillWidth: true Layout.fillWidth: true
Layout.leftMargin: JamiTheme.preferredMarginSize Layout.leftMargin: JamiTheme.preferredMarginSize
ToggleSwitch {
id: encryptMediaStreamsToggle
labelText: JamiStrings.encryptMediaStream
fontPointSize: JamiTheme.settingsFontSize
checked: CurrentAccount.enable_SRTP
onSwitchToggled: CurrentAccount.enable_SRTP = checked
}
ToggleSwitch { ToggleSwitch {
id: enableSDESToggle id: enableSDESToggle
enabled: CurrentAccount.enable_SRTP
labelText: JamiStrings.enableSDES labelText: JamiStrings.enableSDES
fontPointSize: JamiTheme.settingsFontSize fontPointSize: JamiTheme.settingsFontSize
...@@ -87,8 +74,6 @@ ColumnLayout { ...@@ -87,8 +74,6 @@ ColumnLayout {
ToggleSwitch { ToggleSwitch {
id: fallbackRTPToggle id: fallbackRTPToggle
enabled: CurrentAccount.enable_SRTP
labelText: JamiStrings.fallbackRTP labelText: JamiStrings.fallbackRTP
fontPointSize: JamiTheme.settingsFontSize fontPointSize: JamiTheme.settingsFontSize
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment