[vlc-commits] qml: implement 'Information' playlist context menu button

Fatih Uzunoglu git at videolan.org
Tue Aug 18 17:15:07 CEST 2020


vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Wed Jul 15 20:06:01 2020 +0300| [354decd4756be65efa739222226277cae2d16a44] | committer: Pierre Lamot

qml: implement 'Information' playlist context menu button

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

 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))
                 }
             }
 



More information about the vlc-commits mailing list