summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.qml b/main.qml
index 12a0f3d..c7b8a33 100644
--- a/main.qml
+++ b/main.qml
@@ -87,6 +87,10 @@ ApplicationWindow {
to: 1
value: 0
Layout.fillWidth: true
+ onMoved: {
+ var position = audioInterface.duration*slider.value
+ audioInterface.seek(position)
+ }
}
Text {
id: currentPositionText