- 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>
37 lines
856 B
QML
Executable file
37 lines
856 B
QML
Executable file
|
|
import QtQuick
|
|
import QtQuick.Layouts
|
|
import QtQuick.Controls.Basic as Control
|
|
import SettingsCpp 1.0
|
|
import Linphone
|
|
import "qrc:/qt/qml/Linphone/view/Control/Tool/Helper/utils.js" as Utils
|
|
|
|
AbstractSettingsLayout {
|
|
width: parent?.width
|
|
contentModel: [
|
|
{
|
|
title: "",
|
|
subTitle: "",
|
|
contentComponent: content
|
|
}
|
|
]
|
|
onSave: {
|
|
SettingsCpp.save()
|
|
}
|
|
onUndo: SettingsCpp.undo()
|
|
|
|
Component {
|
|
id: content
|
|
ColumnLayout {
|
|
spacing: Utils.getSizeWithScreenRatio(40)
|
|
SwitchSetting {
|
|
//: "Chiffrer tous les fichiers"
|
|
titleText: qsTr("settings_security_enable_vfs_title")
|
|
//: "Attention, vous ne pourrez pas revenir en arrière !"
|
|
subTitleText: qsTr("settings_security_enable_vfs_subtitle")
|
|
propertyName: "vfsEnabled"
|
|
propertyOwner: SettingsCpp
|
|
}
|
|
}
|
|
}
|
|
}
|