[vlc-commits] qml: fix dbl clicking on a device in the Network home page open the first item instead
Pierre Lamot
git at videolan.org
Fri Jan 10 15:06:16 CET 2020
vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Fri Nov 29 17:44:20 2019 +0100| [56f40eac0f71589a4595dff7aa613915b8b4250e] | committer: Jean-Baptiste Kempf
qml: fix dbl clicking on a device in the Network home page open the first item instead
the index variable of GridItem was shadowing the one assigned by the ListView
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=56f40eac0f71589a4595dff7aa613915b8b4250e
---
modules/gui/qt/widgets/qml/GridItem.qml | 2 --
1 file changed, 2 deletions(-)
diff --git a/modules/gui/qt/widgets/qml/GridItem.qml b/modules/gui/qt/widgets/qml/GridItem.qml
index 818997f1b7..0a648e823b 100644
--- a/modules/gui/qt/widgets/qml/GridItem.qml
+++ b/modules/gui/qt/widgets/qml/GridItem.qml
@@ -54,8 +54,6 @@ Rectangle {
signal itemDoubleClicked(Item menuParent, int keys, int modifier)
signal contextMenuButtonClicked(Item menuParent)
- property int index: 0
-
Keys.onMenuPressed: root.contextMenuButtonClicked(cover_bg)
Accessible.role: Accessible.Cell
More information about the vlc-commits
mailing list