[vlc-devel] [PATCH 4/7] qml: fix qml error in PlaylistListView

Fatih Uzunoglu fuzun54 at outlook.com
Sun Apr 11 21:45:29 UTC 2021


according to specifications, null can
not be assigned to qml type point

fixes part of #25601.
---
 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 0a99057b0a..c93652f851 100644
--- a/modules/gui/qt/playlist/qml/PlaylistListView.qml
+++ b/modules/gui/qt/playlist/qml/PlaylistListView.qml
@@ -127,7 +127,7 @@ Widgets.NavigableFocusScope {
                 return model.getItemsForIndexes(model.getSelection())
             }
 
-            property point _pos: null
+            property point _pos
             property int _scrollingDirection: 0
 
             function updatePos(pos) {
-- 
2.27.0



More information about the vlc-devel mailing list