- Add ComboBox for ringtone selection in Call Settings - Convert MKV ringtones to WAV format (Linphone only supports WAV) - Fix ComboSetting to support dialPlan type for international prefix - Disable account devices feature to prevent API errors - Disable automatic update check on startup - Add ringtone fallback to default when custom file not found - Fix ringtone dropdown to not override setting on initialization Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
38 lines
795 B
QML
Executable file
38 lines
795 B
QML
Executable file
|
|
import QtQuick
|
|
import QtQuick.Layouts
|
|
import QtQuick.Controls.Basic as Control
|
|
import SettingsCpp 1.0
|
|
import Linphone
|
|
import UtilsCpp
|
|
import "qrc:/qt/qml/Linphone/view/Control/Tool/Helper/utils.js" as Utils
|
|
|
|
AbstractSettingsLayout {
|
|
width: parent?.width
|
|
contentModel: [
|
|
{
|
|
//: "Réseau"
|
|
title: qsTr("settings_network_title"),
|
|
subTitle: "",
|
|
contentComponent: content
|
|
}
|
|
]
|
|
onSave: {
|
|
SettingsCpp.save()
|
|
}
|
|
onUndo: SettingsCpp.undo()
|
|
|
|
Component {
|
|
id: content
|
|
ColumnLayout {
|
|
spacing: Utils.getSizeWithScreenRatio(40)
|
|
SwitchSetting {
|
|
Layout.fillWidth: true
|
|
//: "Autoriser l'IPv6"
|
|
titleText: qsTr("settings_network_allow_ipv6")
|
|
propertyName: "ipv6Enabled"
|
|
propertyOwner: SettingsCpp
|
|
}
|
|
}
|
|
}
|
|
}
|