[vlc-commits] qml: change 'let' to 'var' to comply with old Qt versions
Fatih Uzunoglu
git at videolan.org
Tue Jan 12 13:20:49 UTC 2021
vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Fri Jan 8 00:36:51 2021 +0300| [e12af2b856796a3cdc7509b25d0a81ea702579aa] | committer: Pierre Lamot
qml: change 'let' to 'var' to comply with old Qt versions
Signed-off-by: Pierre Lamot <pierre at videolabs.io>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e12af2b856796a3cdc7509b25d0a81ea702579aa
---
modules/gui/qt/playlist/qml/PlaylistListView.qml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt/playlist/qml/PlaylistListView.qml b/modules/gui/qt/playlist/qml/PlaylistListView.qml
index d51a947830..fb6da97738 100644
--- a/modules/gui/qt/playlist/qml/PlaylistListView.qml
+++ b/modules/gui/qt/playlist/qml/PlaylistListView.qml
@@ -460,7 +460,7 @@ Widgets.NavigableFocusScope {
}
function onDelete() {
- let selection = root.model.getSelection()
+ var selection = root.model.getSelection()
if (selection.length === 0)
return
root.model.removeItems(selection)
More information about the vlc-commits
mailing list