Use the "Binding on ..." syntax whenever possible
This commit is contained in:
@@ -28,16 +28,12 @@ RadialBar {
|
||||
theme.controls.circleProgressBar.indeterminateSpan
|
||||
|
||||
|
||||
Binding {
|
||||
target: bar;
|
||||
property: "value";
|
||||
Binding on value {
|
||||
value: bar.to * bar.indeterminateSpan
|
||||
when: bar.indeterminate
|
||||
}
|
||||
|
||||
Binding {
|
||||
target: bar
|
||||
property: "showText"
|
||||
Binding on showText {
|
||||
value: false
|
||||
when: bar.indeterminate
|
||||
}
|
||||
|
@@ -130,9 +130,7 @@ HColumnLayout {
|
||||
}
|
||||
}
|
||||
|
||||
Binding {
|
||||
target: timeSlider
|
||||
property: "value"
|
||||
Binding on value {
|
||||
value: boundPosition
|
||||
when: ! timeSlider.pressed
|
||||
}
|
||||
|
Reference in New Issue
Block a user