Remove warnings about Slider maximumValue not > minimumValue
This commit is contained in:
parent
04f6c14e86
commit
d3eac32216
2 changed files with 2 additions and 2 deletions
|
@ -444,7 +444,7 @@ Item {
|
|||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.bottom: positionText.top
|
||||
minimumValue: 0
|
||||
maximumValue: messageAudio.duration ? messageAudio.duration : 0
|
||||
maximumValue: messageAudio.duration ? messageAudio.duration : 0.1
|
||||
stepSize: 1
|
||||
value: messageAudio.position
|
||||
enabled: messageAudio.seekable
|
||||
|
|
|
@ -482,7 +482,7 @@ Item {
|
|||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.bottom: positionText.top
|
||||
minimumValue: 0
|
||||
maximumValue: messageVideo.duration ? messageVideo.duration : 0
|
||||
maximumValue: messageVideo.duration ? messageVideo.duration : 0.1
|
||||
|
||||
highlighted: videoMessageComponent.highlighted || down
|
||||
stepSize: 1
|
||||
|
|
Loading…
Reference in a new issue