1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-03 22:35:45 +02:00

RTLlanguages: Fix crash when opening settings

Delete the preferedWidth of a row in the accountComboBox to avoid an
infinite polish() loop when accessing the settings with an RTL language.

GitLab: #1945

Change-Id: I37a4a1c61a296743835d677ab242c0fe214e8d16
This commit is contained in:
pmagnier-slimani 2025-03-12 14:23:49 -04:00 committed by François-Simon Fauteux-Chapleau
parent 65d3befad8
commit a00a191371

View file

@ -45,7 +45,7 @@ Label {
anchors.fill: parent anchors.fill: parent
color: JamiTheme.backgroundColor color: JamiTheme.backgroundColor
Behavior on color { Behavior on color {
ColorAnimation { ColorAnimation {
duration: JamiTheme.shortFadeDuration duration: JamiTheme.shortFadeDuration
} }
@ -88,7 +88,6 @@ Label {
spacing: 10 spacing: 10
Avatar { Avatar {
id: avatar id: avatar
objectName: "accountComboBoxAvatar" objectName: "accountComboBoxAvatar"
@ -147,7 +146,6 @@ Label {
spacing: 10 spacing: 10
Layout.preferredWidth: childrenRect.width
Layout.preferredHeight: parent.height Layout.preferredHeight: parent.height
JamiPushButton { JamiPushButton {