[vlc-commits] qml: remove unnecessary layout in MusicDisplay

Pierre Lamot git at videolan.org
Fri Jan 10 15:06:38 CET 2020


vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Tue Dec 17 15:43:09 2019 +0100| [3ef2e7407f9089a08aecf79baf89dd1d61e4b276] | committer: Jean-Baptiste Kempf

qml: remove unnecessary layout in MusicDisplay

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

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

 modules/gui/qt/medialibrary/qml/MusicDisplay.qml | 25 +++++++++---------------
 1 file changed, 9 insertions(+), 16 deletions(-)

diff --git a/modules/gui/qt/medialibrary/qml/MusicDisplay.qml b/modules/gui/qt/medialibrary/qml/MusicDisplay.qml
index d83429339e..40b3091713 100644
--- a/modules/gui/qt/medialibrary/qml/MusicDisplay.qml
+++ b/modules/gui/qt/medialibrary/qml/MusicDisplay.qml
@@ -94,22 +94,15 @@ Widgets.NavigableFocusScope {
         }
     }
 
-    ColumnLayout {
-        anchors.fill : parent
-        spacing: 0
-
-        /* The data elements */
-        Widgets.StackViewExt  {
-            id: stackView
-            Layout.fillWidth: true
-            Layout.fillHeight: true
-            Layout.margins: VLCStyle.margin_normal
-            focus: true
-
-            onCurrentItemChanged: {
-                sortModel = stackView.currentItem.sortModel
-                contentModel = stackView.currentItem.model
-            }
+    /* The data elements */
+    Widgets.StackViewExt  {
+        id: stackView
+        anchors.fill: parent
+        focus: true
+
+        onCurrentItemChanged: {
+            sortModel = stackView.currentItem.sortModel
+            contentModel = stackView.currentItem.model
         }
     }
 }



More information about the vlc-commits mailing list