[vlc-devel] [PATCH 11/11] qml: remove obsolete playlist view

Pierre Lamot pierre at videolabs.io
Fri Oct 9 12:07:41 CEST 2020


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

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>
-- 
2.25.1



More information about the vlc-devel mailing list