[vlc-commits] qml: fix navigation of VideoListDisplay

Pierre Lamot git at videolan.org
Thu Oct 15 10:33:16 CEST 2020


vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Fri Oct  9 10:16:44 2020 +0200| [c57f7217079db0e48bed7f7cbf0eafe2cc9003a6] | committer: Pierre Lamot

qml: fix navigation of VideoListDisplay

  isFocusOnContextButton no longer exists

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

 modules/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
     }



More information about the vlc-commits mailing list