diff options
| -rw-r--r-- | modules/detachedcontent/bluetooth/Settings.qml | 2 | ||||
| -rw-r--r-- | widgets/CustomSpinBox.qml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/detachedcontent/bluetooth/Settings.qml b/modules/detachedcontent/bluetooth/Settings.qml index 808cd7c..a0d7f12 100644 --- a/modules/detachedcontent/bluetooth/Settings.qml +++ b/modules/detachedcontent/bluetooth/Settings.qml @@ -274,7 +274,7 @@ ColumnLayout { CustomSpinBox { min: 0 value: root.session.bt.currentAdapter.discoverableTimeout - onValueModified: root.session.bt.currentAdapter.discoverableTimeout = value + onValueModified: value => root.session.bt.currentAdapter.discoverableTimeout = value } } } diff --git a/widgets/CustomSpinBox.qml b/widgets/CustomSpinBox.qml index 5021bd5..7bd4d2b 100644 --- a/widgets/CustomSpinBox.qml +++ b/widgets/CustomSpinBox.qml @@ -9,8 +9,8 @@ RowLayout { id: root property int value - property real max: NaN - property real min: NaN + property real max: Infinity + property real min: -Infinity property alias repeatRate: timer.interval signal valueModified(value: int) |