[vlc-devel] [PATCH 19/19] qml: implement 'Show Containing Directory' playlist context menu button

Fatih Uzunoglu fuzun54 at outlook.com
Wed Aug 12 23:17:26 CEST 2020


---
 modules/gui/qt/playlist/qml/PlaylistListView.qml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/modules/gui/qt/playlist/qml/PlaylistListView.qml b/modules/gui/qt/playlist/qml/PlaylistListView.qml
index 7d507680da..b85001de7c 100644
--- a/modules/gui/qt/playlist/qml/PlaylistListView.qml
+++ b/modules/gui/qt/playlist/qml/PlaylistListView.qml
@@ -186,8 +186,11 @@ Widgets.NavigableFocusScope {
 
             Widgets.MenuItemExt {
                 text: i18n.qtr("Show Containing Directory...")
+                icon.source: "qrc:/type/folder-grey.svg"
+                icon.width: VLCStyle.icon_small
+                icon.height: VLCStyle.icon_small
                 onTriggered: {
-                    // not implemented
+                    mainPlaylistController.explore(contextMenu.model.itemAt(contextMenu.itemIndex))
                 }
             }
 
-- 
2.25.1



More information about the vlc-devel mailing list