dcontent: fix discoverable timeout spinbox
This commit is contained in:
parent
125a094b1e
commit
840856abc1
2 changed files with 3 additions and 3 deletions
|
|
@ -274,7 +274,7 @@ ColumnLayout {
|
||||||
CustomSpinBox {
|
CustomSpinBox {
|
||||||
min: 0
|
min: 0
|
||||||
value: root.session.bt.currentAdapter.discoverableTimeout
|
value: root.session.bt.currentAdapter.discoverableTimeout
|
||||||
onValueModified: root.session.bt.currentAdapter.discoverableTimeout = value
|
onValueModified: value => root.session.bt.currentAdapter.discoverableTimeout = value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,8 @@ RowLayout {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
property int value
|
property int value
|
||||||
property real max: NaN
|
property real max: Infinity
|
||||||
property real min: NaN
|
property real min: -Infinity
|
||||||
property alias repeatRate: timer.interval
|
property alias repeatRate: timer.interval
|
||||||
|
|
||||||
signal valueModified(value: int)
|
signal valueModified(value: int)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue