[vlc-commits] qml: fix qml error in PlaylistListView

Fatih Uzunoglu git at videolan.org
Fri Apr 16 11:20:20 UTC 2021


vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Mon Apr 12 00:45:29 2021 +0300| [978f26189b8b13e271018a92bf73014876aed5b8] | committer: Pierre Lamot

qml: fix qml error in PlaylistListView

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

fixes part of #25601.

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=978f26189b8b13e271018a92bf73014876aed5b8
---

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



More information about the vlc-commits mailing list