From a98f6ca4e3d9dc2f625bab79adf932ff8e9dcc96 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Blin?=
 <sebastien.blin@savoirfairelinux.com>
Date: Wed, 14 Feb 2024 09:56:32 -0500
Subject: [PATCH] SettingSpinBox: fix binding loop

Change-Id: I0426d7cea16aedff3dc5ed0f493422ffb091d45e
GitLab: #1543
---
 src/app/settingsview/components/SettingSpinBox.qml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/app/settingsview/components/SettingSpinBox.qml b/src/app/settingsview/components/SettingSpinBox.qml
index d0ca70450..247796075 100644
--- a/src/app/settingsview/components/SettingSpinBox.qml
+++ b/src/app/settingsview/components/SettingSpinBox.qml
@@ -106,7 +106,7 @@ RowLayout {
 
         up.indicator: Rectangle {
 
-            width: parent.width / 8
+            width: root.itemWidth / 8
             radius: 4
             anchors {
                 top: parent.top
@@ -132,7 +132,7 @@ RowLayout {
 
         down.indicator: Rectangle {
 
-            width: parent.width / 8
+            width: root.itemWidth / 8
             radius: 4
             anchors {
                 top: parent.top
-- 
GitLab