[vlc-devel] [PATCH 13/19] qml: implement 'Information' playlist context menu button

Fatih Uzunoglu fuzun54 at outlook.com
Wed Aug 12 23:17:20 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 59f98414bb..87ef109cc8 100644
--- a/modules/gui/qt/playlist/qml/PlaylistListView.qml
+++ b/modules/gui/qt/playlist/qml/PlaylistListView.qml
@@ -149,8 +149,11 @@ Widgets.NavigableFocusScope {
 
             Widgets.MenuItemExt {
                 text: i18n.qtr("Information...")
+                icon.source: "qrc:/menu/info.svg"
+                icon.width: VLCStyle.icon_small
+                icon.height: VLCStyle.icon_small
                 onTriggered: {
-                    // not implemented
+                    dialogProvider.mediaInfoDialog(contextMenu.model.itemAt(contextMenu.itemIndex))
                 }
             }
 
-- 
2.25.1



More information about the vlc-devel mailing list