[vlc-devel] [PATCH 09/11] qml: fix navigation of VideoListDisplay

Pierre Lamot pierre at videolabs.io
Fri Oct 9 12:07:39 CEST 2020


  isFocusOnContextButton no longer exists
---
 .../gui/qt/medialibrary/qml/VideoListDisplay.qml    | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/modules/gui/qt/medialibrary/qml/VideoListDisplay.qml b/modules/gui/qt/medialibrary/qml/VideoListDisplay.qml
index 6167fc0a39..5a7965f321 100644
--- a/modules/gui/qt/medialibrary/qml/VideoListDisplay.qml
+++ b/modules/gui/qt/medialibrary/qml/VideoListDisplay.qml
@@ -75,19 +75,6 @@ Widgets.KeyNavigableTableView {
 
     onActionForSelection: medialib.addAndPlay(model.getIdsForIndexes( selection ))
 
-    navigationLeft:  function(index) {
-        if (isFocusOnContextButton )
-            isFocusOnContextButton = false
-        else
-            defaultNavigationLeft(index)
-    }
-    navigationRight: function(index) {
-        if (!isFocusOnContextButton)
-            isFocusOnContextButton = true
-        else
-            defaultNavigationRight(index)
-    }
-
     Widgets.TableColumns {
         id: tableColumns
     }
-- 
2.25.1



More information about the vlc-devel mailing list