summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.si>2021-09-12 19:37:16 +0200
committerTimotej Lazar <timotej.lazar@araneo.si>2021-09-16 20:33:57 +0200
commitbb5b0b4b3fea46b10ca48679f16cc30df05e0ba9 (patch)
treefc923a49417aed7007505be9db0456da2b5f0203
parent09a1c7d57f349eaaf3779e0d45f844850164d30a (diff)
Video: prevent pause/resume button from obtaining focus
-rw-r--r--Video.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Video.qml b/Video.qml
index f63a7ce..47eda92 100644
--- a/Video.qml
+++ b/Video.qml
@@ -114,6 +114,7 @@ Page {
checkable: true
checked: media.playbackState !== MediaPlayer.PlayingState
onClicked: checked ? media.pause() : media.play()
+ focusPolicy: Qt.NoFocus
}
Label { text: new Date(media.position).toISOString().substr(12, 9) }
Slider {