Skip to content
Snippets Groups Projects
Commit 4ef2cd5a authored by Benjamin Arnaud's avatar Benjamin Arnaud
Browse files

qml/controlbarcontrols: Check ratechangable on Button(s)

parent b0c57fad
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,9 @@ import "qrc:///style/"
Widgets.IconControlButton {
id: fasterBtn
size: VLCStyle.icon_medium
enabled: Player.ratechangable
iconText: VLCIcons.faster
onClicked: Player.faster()
text: I18n.qtr("Faster")
......
......@@ -26,7 +26,9 @@ import "qrc:///style/"
Widgets.IconControlButton {
id: frameBtn
size: VLCStyle.icon_medium
enabled: Player.isPlaying
enabled: Player.ratechangable
iconText: VLCIcons.frame_by_frame
onClicked: Player.frameNext()
text: I18n.qtr("Next frame")
......
......@@ -26,6 +26,9 @@ import "qrc:///style/"
Widgets.IconControlButton {
id: slowerBtn
size: VLCStyle.icon_medium
enabled: Player.ratechangable
iconText: VLCIcons.slower
onClicked: Player.slower()
text: I18n.qtr("Slower")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment