[vlc-commits] qml: add miniplayer in no-medialib mode

Pierre Lamot git at videolan.org
Sun Jul 28 08:43:49 CEST 2019


vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Wed Jul 17 13:36:50 2019 +0200| [d71c19f71884c1b507e8cc9c524673d3f1a9c5b1] | committer: Jean-Baptiste Kempf

qml: add miniplayer in no-medialib mode

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

 modules/gui/qt/qml/playlist/PlaylistMainView.qml | 34 ++++--------------------
 1 file changed, 5 insertions(+), 29 deletions(-)

diff --git a/modules/gui/qt/qml/playlist/PlaylistMainView.qml b/modules/gui/qt/qml/playlist/PlaylistMainView.qml
index b60c53d474..c8e33a0bab 100644
--- a/modules/gui/qt/qml/playlist/PlaylistMainView.qml
+++ b/modules/gui/qt/qml/playlist/PlaylistMainView.qml
@@ -21,6 +21,7 @@ import QtQuick.Controls 2.4
 import QtQuick.Layouts 1.3
 
 import "qrc:///utils/" as Utils
+import "qrc:///player/" as Player
 import "qrc:///style/"
 import "qrc:///menus/" as Menus
 
@@ -40,39 +41,14 @@ Utils.NavigableFocusScope {
                 Layout.fillWidth: true
             }
 
-            //Rectangle {
-            //    color: VLCStyle.colors.banner
-            //    Layout.fillWidth: true
-            //    Layout.preferredHeight: VLCStyle.icon_normal + VLCStyle.margin_small
-            //
-            //    RowLayout {
-            //        anchors.fill: parent
-            //
-            //        Item {
-            //            //spacer
-            //            Layout.fillWidth: true
-            //        }
-            //
-            //        Utils.IconToolButton {
-            //            id: menu_selector
-            //
-            //            size: VLCStyle.icon_normal
-            //            text: VLCIcons.menu
-            //
-            //            onClicked: mainMenu.openBelow(this)
-            //
-            //            Menus.MainMenu {
-            //                id: mainMenu
-            //                onClosed: menu_selector.forceActiveFocus()
-            //            }
-            //        }
-            //    }
-            //}
-
             PlaylistListView {
                 Layout.fillWidth: true
                 Layout.fillHeight: true
             }
+
+            Player.MiniPlayer {
+                Layout.fillWidth: true
+            }
         }
 
     }



More information about the vlc-commits mailing list