summaryrefslogtreecommitdiff
path: root/examples/quickcontrols/extras/gallery/qml/CircularGaugeView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quickcontrols/extras/gallery/qml/CircularGaugeView.qml')
-rw-r--r--examples/quickcontrols/extras/gallery/qml/CircularGaugeView.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/quickcontrols/extras/gallery/qml/CircularGaugeView.qml b/examples/quickcontrols/extras/gallery/qml/CircularGaugeView.qml
index bfb7a0c7..63e51355 100644
--- a/examples/quickcontrols/extras/gallery/qml/CircularGaugeView.qml
+++ b/examples/quickcontrols/extras/gallery/qml/CircularGaugeView.qml
@@ -115,9 +115,9 @@ ControlView {
// Called to update the style after the user has edited a property.
Connections {
target: customizerItem
- onMinimumValueAngleChanged: __style.minimumValueAngle = customizerItem.minimumValueAngle
- onMaximumValueAngleChanged: __style.maximumValueAngle = customizerItem.maximumValueAngle
- onLabelStepSizeChanged: __style.tickmarkStepSize = __style.labelStepSize = customizerItem.labelStepSize
+ function onMinimumValueAngleChanged() { __style.minimumValueAngle = customizerItem.minimumValueAngle }
+ function onMaximumValueAngleChanged() { __style.maximumValueAngle = customizerItem.maximumValueAngle }
+ function onLabelStepSizeChanged() { __style.tickmarkStepSize = __style.labelStepSize = customizerItem.labelStepSize }
}
Behavior on value {