[vlc-devel] [PATCH 38/55] qml: change 'let' to 'var' to comply with old Qt versions

Fatih Uzunoglu fuzun54 at outlook.com
Thu Jan 7 21:36:51 UTC 2021


---
 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)
-- 
2.27.0



More information about the vlc-devel mailing list