[vlc-commits] qml: emit signal itemDoubleClicked for items in KeyNavigableTableView

Prince Gupta git at videolan.org
Wed Jun 24 17:42:05 CEST 2020


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Fri Jun 19 19:15:31 2020 +0530| [00eecfe3e7a3647cb6f2d3611c71a2730f9c7614] | committer: Pierre Lamot

qml: emit signal itemDoubleClicked for items in KeyNavigableTableView

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

 modules/gui/qt/widgets/qml/KeyNavigableTableView.qml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/gui/qt/widgets/qml/KeyNavigableTableView.qml b/modules/gui/qt/widgets/qml/KeyNavigableTableView.qml
index ac134dd84f..089a97dc23 100644
--- a/modules/gui/qt/widgets/qml/KeyNavigableTableView.qml
+++ b/modules/gui/qt/widgets/qml/KeyNavigableTableView.qml
@@ -32,6 +32,7 @@ NavigableFocusScope {
     signal actionForSelection( var selection )
     signal contextMenuButtonClicked(Item menuParent, var menuModel)
     signal rightClick(Item menuParent, var menuModel)
+    signal itemDoubleClicked(var model)
 
     property var sortModel: []
     property Component colDelegate: Widgets.ListLabel {
@@ -218,6 +219,7 @@ NavigableFocusScope {
 
                 onDoubleClicked: {
                     actionForSelection(selectionModel.selectedIndexes)
+                    root.itemDoubleClicked(model)
                 }
 
                 Rectangle {



More information about the vlc-commits mailing list