[vlc-commits] qml: implement 'Show Containing Directory' playlist context menu button
Fatih Uzunoglu
git at videolan.org
Tue Aug 18 17:15:14 CEST 2020
vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Wed Jul 15 20:52:04 2020 +0300| [aa5f6a6caab68e97537b1765f5ed1f621abfe7eb] | committer: Pierre Lamot
qml: implement 'Show Containing Directory' playlist context menu button
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=aa5f6a6caab68e97537b1765f5ed1f621abfe7eb
---
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))
}
}
More information about the vlc-commits
mailing list