[vlc-commits] qml: remove obsolete playlist view

Pierre Lamot git at videolan.org
Thu Oct 15 10:33:18 CEST 2020


vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Fri Oct  9 10:52:39 2020 +0200| [fdad2f267132d0aa95b764aa2e2e00bbd95f7710] | committer: Pierre Lamot

qml: remove obsolete playlist view

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

 modules/gui/qt/Makefile.am                       |  1 -
 modules/gui/qt/playlist/qml/PlaylistMainView.qml | 56 ------------------------
 modules/gui/qt/vlc.qrc                           |  1 -
 3 files changed, 58 deletions(-)

diff --git a/modules/gui/qt/Makefile.am b/modules/gui/qt/Makefile.am
index 9363050f7c..dbe2dc3b83 100644
--- a/modules/gui/qt/Makefile.am
+++ b/modules/gui/qt/Makefile.am
@@ -663,7 +663,6 @@ libqt_plugin_la_QML = \
 	gui/qt/player/qml/VolumeWidget.qml \
 	gui/qt/playlist/qml/PLItem.qml \
 	gui/qt/playlist/qml/PlaylistListView.qml \
-	gui/qt/playlist/qml/PlaylistMainView.qml \
 	gui/qt/playlist/qml/PlaylistMenu.qml \
 	gui/qt/playlist/qml/PlaylistToolbar.qml \
 	gui/qt/playlist/qml/PlaylistDetachedWindow.qml \
diff --git a/modules/gui/qt/playlist/qml/PlaylistMainView.qml b/modules/gui/qt/playlist/qml/PlaylistMainView.qml
deleted file mode 100644
index 32c2a951bc..0000000000
--- a/modules/gui/qt/playlist/qml/PlaylistMainView.qml
+++ /dev/null
@@ -1,56 +0,0 @@
-/*****************************************************************************
- * Copyright (C) 2019 VLC authors and VideoLAN
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * ( at your option ) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
- *****************************************************************************/
-
-import QtQuick 2.11
-import QtQuick.Controls 2.4
-import QtQuick.Layouts 1.3
-
-import "qrc:///widgets/" as Widgets
-import "qrc:///player/" as Player
-import "qrc:///style/"
-import "qrc:///menus/" as Menus
-
-/**
- * lightweight standalone playlist view, used when medialibrary is not loaded
- */
-Widgets.NavigableFocusScope {
-    id: root
-    Rectangle {
-        anchors.fill: parent
-        color: VLCStyle.colors.bg
-
-        ColumnLayout {
-            anchors.fill: parent
-            spacing: 0
-
-            Menus.Menubar {
-                Layout.fillWidth: true
-            }
-
-            PlaylistListView {
-                Layout.fillWidth: true
-                Layout.fillHeight: true
-            }
-
-            Player.MiniPlayer {
-                Layout.fillWidth: true
-            }
-        }
-
-    }
-}
diff --git a/modules/gui/qt/vlc.qrc b/modules/gui/qt/vlc.qrc
index e154c30734..50d0bfd478 100644
--- a/modules/gui/qt/vlc.qrc
+++ b/modules/gui/qt/vlc.qrc
@@ -277,7 +277,6 @@
         <file alias="PLItem.qml">playlist/qml/PLItem.qml</file>
         <file alias="PlaylistListView.qml">playlist/qml/PlaylistListView.qml</file>
         <file alias="PlaylistMenu.qml">playlist/qml/PlaylistMenu.qml</file>
-        <file alias="PlaylistMainView.qml">playlist/qml/PlaylistMainView.qml</file>
         <file alias="PlaylistToolbar.qml">playlist/qml/PlaylistToolbar.qml</file>
         <file alias="PlaylistDetachedWindow.qml">playlist/qml/PlaylistDetachedWindow.qml</file>
     </qresource>



More information about the vlc-commits mailing list