[vlc-commits] qml: remove reduntant signal handler

Prince Gupta git at videolan.org
Mon Sep 28 14:01:35 CEST 2020


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Fri Sep 11 21:11:23 2020 +0530| [7fc108f735482d4b4b72364507fd46eaa3495c77] | committer: Pierre Lamot

qml: remove reduntant signal handler

already managed by _actionAtIndex

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

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

 modules/gui/qt/network/qml/NetworkBrowseDisplay.qml | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/modules/gui/qt/network/qml/NetworkBrowseDisplay.qml b/modules/gui/qt/network/qml/NetworkBrowseDisplay.qml
index 306b563573..98774c40d8 100644
--- a/modules/gui/qt/network/qml/NetworkBrowseDisplay.qml
+++ b/modules/gui/qt/network/qml/NetworkBrowseDisplay.qml
@@ -254,12 +254,6 @@ Widgets.NavigableFocusScope {
             ]
 
             onActionForSelection: _actionAtIndex(selection[0].row)
-            onItemDoubleClicked: {
-                if (model.type === NetworkMediaModel.TYPE_NODE || model.type === NetworkMediaModel.TYPE_DIRECTORY)
-                    changeTree(model.tree)
-                else
-                    providerModel.addAndPlay( index )
-            }
             onContextMenuButtonClicked: contextMenu.popup(selectionModel.selectedIndexes, menuParent.mapToGlobal(0,0))
             onRightClick: contextMenu.popup(selectionModel.selectedIndexes, globalMousePos)
         }



More information about the vlc-commits mailing list