mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
fix polish loop
fix crash
This commit is contained in:
parent
92f1eaa88f
commit
72d2096ae7
2 changed files with 7 additions and 3 deletions
|
|
@ -93,6 +93,7 @@ QString ToolModel::getDisplayName(QString address) {
|
|||
if (displayName.isEmpty()) return address;
|
||||
QStringList nameSplitted = displayName.split(" ");
|
||||
for (auto &part : nameSplitted) {
|
||||
if (part.isEmpty()) continue;
|
||||
part[0] = part[0].toUpper();
|
||||
}
|
||||
return nameSplitted.join(" ");
|
||||
|
|
|
|||
|
|
@ -48,21 +48,24 @@ AbstractSettingsLayout {
|
|||
RowLayout {
|
||||
spacing: 47 * DefaultStyle.dp
|
||||
ColumnLayout {
|
||||
ColumnLayout {
|
||||
Item {
|
||||
Layout.preferredWidth: 341 * DefaultStyle.dp
|
||||
Text {
|
||||
id: periphTitle
|
||||
text: qsTr("Périphériques")
|
||||
font: Typography.p2
|
||||
wrapMode: Text.WordWrap
|
||||
color: DefaultStyle.main2_600
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
Text {
|
||||
anchors.top: periphTitle.bottom
|
||||
anchors.topMargin: 3 * DefaultStyle.dp
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
text: qsTr("Vous pouvez modifier les périphériques de sortie audio, le microphone et la caméra de capture.")
|
||||
font: Typography.p1
|
||||
wrapMode: Text.WordWrap
|
||||
color: DefaultStyle.main2_600
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
Item {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue