Skip to content

Commit 409b541

Browse files
committed
Updated some handlers to more modern syntax to avoid warning messages.
Signed-off-by: Ken McGaugh <ken@mcgaugh.co.uk>
1 parent 63d2dce commit 409b541

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ui/qml/xstudio/application/panels/timeline/delegates/XsDelegateClip.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,14 +188,14 @@ RowLayout {
188188
updateMediaIndex()
189189
}
190190

191-
onDraggingStarted: {
191+
onDraggingStarted: (mode)=> {
192192
control.draggingStarted(modelIndex(), control, mode)
193193
isDragging = true
194194
}
195195
onDragging: control.dragging(modelIndex(), control, mode, x / scaleX, y / scaleY / config.itemHeight)
196196
onDoubleTapped: control.doubleTapped(control, mode)
197197
onTapped: control.tapped(button, x, y, modifiers, control)
198-
onDraggingStopped: {
198+
onDraggingStopped: (mode)=> {
199199
control.draggingStopped(modelIndex(), control, mode)
200200
isDragging = false
201201
}

0 commit comments

Comments
 (0)