Skip to content

Commit

Permalink
Fix binding related warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
  • Loading branch information
azeey committed Feb 6, 2025
1 parent c0aa01e commit 8eae434
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/gz/gui/qml/GzSpinBox.qml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*
*/
import QtQml 2.15
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQml 2.15


Item {
Expand All @@ -28,7 +28,6 @@ Item {
property real stepSize: 1.0
property int decimals: 0

implicitWidth: spinBox.implicitWidth
implicitHeight: spinBox.implicitHeight

readonly property int kMaxInt: Math.pow(2, 31) - 1
Expand Down Expand Up @@ -57,6 +56,7 @@ Item {
property: 'value'
value: intToDecimal(spinBox.value)
when: false
restoreMode: Binding.RestoreBinding
}

SpinBox {
Expand Down

0 comments on commit 8eae434

Please sign in to comment.