[vlc-commits] qml: remove unused modelTop property from ExpandGridView

Pierre Lamot git at videolan.org
Thu Aug 29 10:45:06 CEST 2019


vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Mon Aug 26 15:22:47 2019 +0200| [a356c94ff5038e28a01f97aedbe294c44e9c08fb] | committer: Jean-Baptiste Kempf

qml: remove unused modelTop property from ExpandGridView

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

 modules/gui/qt/qml/mediacenter/MCVideoDisplay.qml     | 1 -
 modules/gui/qt/qml/mediacenter/MusicAlbumsDisplay.qml | 1 -
 modules/gui/qt/qml/utils/ExpandGridView.qml           | 1 -
 3 files changed, 3 deletions(-)

diff --git a/modules/gui/qt/qml/mediacenter/MCVideoDisplay.qml b/modules/gui/qt/qml/mediacenter/MCVideoDisplay.qml
index 1958f67c47..bb70683f56 100644
--- a/modules/gui/qt/qml/mediacenter/MCVideoDisplay.qml
+++ b/modules/gui/qt/qml/mediacenter/MCVideoDisplay.qml
@@ -317,7 +317,6 @@ Utils.NavigableFocusScope {
                         anchors.fill: parent
                         flickableDirection:  Flickable.VerticalFlick
                         model: videosDelegate
-                        modelTop: videosDelegate.parts.gridTop
                         modelCount: videosDelegate.items.count
 
                         expandDelegateImplicitHeight: view.height/3
diff --git a/modules/gui/qt/qml/mediacenter/MusicAlbumsDisplay.qml b/modules/gui/qt/qml/mediacenter/MusicAlbumsDisplay.qml
index 84d49a436c..cafd5c846a 100644
--- a/modules/gui/qt/qml/mediacenter/MusicAlbumsDisplay.qml
+++ b/modules/gui/qt/qml/mediacenter/MusicAlbumsDisplay.qml
@@ -167,7 +167,6 @@ Utils.NavigableFocusScope {
             }
 
             model: delegateModel
-            modelTop: delegateModel.parts.gridTop
             modelCount: delegateModel.items.count
 
             onActionAtIndex: {
diff --git a/modules/gui/qt/qml/utils/ExpandGridView.qml b/modules/gui/qt/qml/utils/ExpandGridView.qml
index f5eaa96113..1888f41a64 100644
--- a/modules/gui/qt/qml/utils/ExpandGridView.qml
+++ b/modules/gui/qt/qml/utils/ExpandGridView.qml
@@ -32,7 +32,6 @@ NavigableFocusScope {
 
     //model to be rendered, model has to be passed twice, as they cannot be shared between views
     property alias model: flickable.model
-    property variant modelTop
     property int modelCount: 0
 
     property int currentIndex: 0



More information about the vlc-commits mailing list