[vlc-commits] qml: avoid binding loop in KeyNavigableListView

Pierre Lamot git at videolan.org
Thu Feb 13 11:06:39 CET 2020


vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Thu Feb  6 13:40:37 2020 +0100| [87c4d24f52084554d9f3480e80a1bc060253cbdf] | committer: Jean-Baptiste Kempf

qml: avoid binding loop in KeyNavigableListView

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/gui/qt/widgets/qml/KeyNavigableListView.qml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/gui/qt/widgets/qml/KeyNavigableListView.qml b/modules/gui/qt/widgets/qml/KeyNavigableListView.qml
index 1f0928b261..013c16d129 100644
--- a/modules/gui/qt/widgets/qml/KeyNavigableListView.qml
+++ b/modules/gui/qt/widgets/qml/KeyNavigableListView.qml
@@ -104,8 +104,6 @@ NavigableFocusScope {
         anchors.fill: parent
         //key navigation is reimplemented for item selection
         keyNavigationEnabled: false
-        contentWidth: contentItem.childrenRect.width
-        contentHeight: contentItem.childrenRect.height
 
         preferredHighlightBegin : (view.orientation === ListView.Vertical)
                                     ? highlightMargin + (headerItem ? headerItem.height : 0)



More information about the vlc-commits mailing list