[vlc-commits] qml: add media adders to playlist contextmenu
Fatih Uzunoglu
git at videolan.org
Tue Aug 18 17:15:04 CEST 2020
vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Tue Jul 14 22:52:25 2020 +0300| [3a13a225e82eaeabcf5eb56cd5d4a67913a6e2b6] | committer: Pierre Lamot
qml: add media adders to playlist contextmenu
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3a13a225e82eaeabcf5eb56cd5d4a67913a6e2b6
---
modules/gui/qt/playlist/qml/PlaylistListView.qml | 32 ++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/modules/gui/qt/playlist/qml/PlaylistListView.qml b/modules/gui/qt/playlist/qml/PlaylistListView.qml
index b56030ffa3..59f98414bb 100644
--- a/modules/gui/qt/playlist/qml/PlaylistListView.qml
+++ b/modules/gui/qt/playlist/qml/PlaylistListView.qml
@@ -165,6 +165,38 @@ Widgets.NavigableFocusScope {
MenuSeparator { }
+ Widgets.MenuItemExt {
+ text: i18n.qtr("Add File...")
+ icon.source: "qrc:/buttons/playlist/playlist_add.svg"
+ icon.width: VLCStyle.icon_small
+ icon.height: VLCStyle.icon_small
+ onTriggered: {
+ dialogProvider.simpleOpenDialog(false)
+ }
+ }
+
+ Widgets.MenuItemExt {
+ text: i18n.qtr("Add Directory...")
+ icon.source: "qrc:/buttons/playlist/playlist_add.svg"
+ icon.width: VLCStyle.icon_small
+ icon.height: VLCStyle.icon_small
+ onTriggered: {
+ dialogProvider.PLAppendDir()
+ }
+ }
+
+ Widgets.MenuItemExt {
+ text: i18n.qtr("Advanced Open...")
+ icon.source: "qrc:/buttons/playlist/playlist_add.svg"
+ icon.width: VLCStyle.icon_small
+ icon.height: VLCStyle.icon_small
+ onTriggered: {
+ dialogProvider.PLAppendDialog()
+ }
+ }
+
+ MenuSeparator { }
+
Widgets.MenuItemExt {
text: i18n.qtr("Save Playlist to File...")
onTriggered: {
More information about the vlc-commits
mailing list