[vlc-devel] [PATCH 12/18] qml: remove reduntant signal handler

Prince Gupta guptaprince8832 at gmail.com
Mon Sep 28 08:30:45 CEST 2020


already managed by _actionAtIndex
---
 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)
         }
-- 
2.25.1



More information about the vlc-devel mailing list