[vlc-commits] qml: rename PLItem.qml to PlaylistDelegate.qml

Fatih Uzunoglu git at videolan.org
Tue Jan 12 13:20:25 UTC 2021


vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Fri Jan  8 00:36:27 2021 +0300| [d62aab12980ee7bbdd784b235d9fbe91144543d2] | committer: Pierre Lamot

qml: rename PLItem.qml to PlaylistDelegate.qml

This makes Playlist directory naming more consistent. It also prevents confusion with the PlaylistItem class in backend.

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

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

 modules/gui/qt/Makefile.am                                       | 2 +-
 modules/gui/qt/playlist/qml/{PLItem.qml => PlaylistDelegate.qml} | 0
 modules/gui/qt/playlist/qml/PlaylistListView.qml                 | 2 +-
 modules/gui/qt/vlc.qrc                                           | 2 +-
 po/POTFILES.in                                                   | 2 +-
 5 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/gui/qt/Makefile.am b/modules/gui/qt/Makefile.am
index 3f5d7cd419..c3c80515b4 100644
--- a/modules/gui/qt/Makefile.am
+++ b/modules/gui/qt/Makefile.am
@@ -678,7 +678,7 @@ libqt_plugin_la_QML = \
 	gui/qt/player/qml/TrackInfo.qml \
 	gui/qt/player/qml/VolumeWidget.qml \
 	gui/qt/player/qml/ButtonsLayout.qml \
-	gui/qt/playlist/qml/PLItem.qml \
+	gui/qt/playlist/qml/PlaylistDelegate.qml \
 	gui/qt/playlist/qml/PlaylistDroppable.qml \
 	gui/qt/playlist/qml/PlaylistListView.qml \
 	gui/qt/playlist/qml/PlaylistOverlayMenu.qml \
diff --git a/modules/gui/qt/playlist/qml/PLItem.qml b/modules/gui/qt/playlist/qml/PlaylistDelegate.qml
similarity index 100%
rename from modules/gui/qt/playlist/qml/PLItem.qml
rename to modules/gui/qt/playlist/qml/PlaylistDelegate.qml
diff --git a/modules/gui/qt/playlist/qml/PlaylistListView.qml b/modules/gui/qt/playlist/qml/PlaylistListView.qml
index fc0e8ecea0..136b13b6f5 100644
--- a/modules/gui/qt/playlist/qml/PlaylistListView.qml
+++ b/modules/gui/qt/playlist/qml/PlaylistListView.qml
@@ -340,7 +340,7 @@ Widgets.NavigableFocusScope {
                         }
                     }
 
-                    PLItem {
+                    PlaylistDelegate {
                         /*
                          * implicit variables:
                          *  - model: gives access to the values associated to PlaylistListModel roles
diff --git a/modules/gui/qt/vlc.qrc b/modules/gui/qt/vlc.qrc
index eee7cb049a..b1b99148ca 100644
--- a/modules/gui/qt/vlc.qrc
+++ b/modules/gui/qt/vlc.qrc
@@ -289,7 +289,7 @@
         <file alias="VLCIcons.qml">style/VLCIcons.qml</file>
     </qresource>
     <qresource prefix="/playlist">
-        <file alias="PLItem.qml">playlist/qml/PLItem.qml</file>
+        <file alias="PlaylistDelegate.qml">playlist/qml/PlaylistDelegate.qml</file>
         <file alias="PlaylistDroppable.qml">playlist/qml/PlaylistDroppable.qml</file>
         <file alias="PlaylistListView.qml">playlist/qml/PlaylistListView.qml</file>
         <file alias="PlaylistOverlayMenu.qml">playlist/qml/PlaylistOverlayMenu.qml</file>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 677f7af478..d6efd48d15 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -833,7 +833,7 @@ modules/gui/qt/player/qml/ResumeDialog.qml
 modules/gui/qt/player/qml/TeletextWidget.qml
 modules/gui/qt/player/qml/TopBar.qml
 modules/gui/qt/player/qml/VolumeWidget.qml
-modules/gui/qt/playlist/qml/PLItem.qml
+modules/gui/qt/playlist/qml/PlaylistDelegate.qml
 modules/gui/qt/playlist/qml/PlaylistDetachedWindow.qml
 modules/gui/qt/playlist/qml/PlaylistListView.qml
 modules/gui/qt/playlist/qml/PlaylistOverlayMenu.qml



More information about the vlc-commits mailing list