[vlc-devel] [PATCH 1/6] qml/TableViewDelegate: Syntax cleanup

Benjamin Arnaud benjamin.arnaud at videolabs.io
Wed Apr 7 08:29:27 UTC 2021


---
 modules/gui/qt/widgets/qml/TableViewDelegate.qml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt/widgets/qml/TableViewDelegate.qml b/modules/gui/qt/widgets/qml/TableViewDelegate.qml
index e7c4f94b70..0abf47d330 100644
--- a/modules/gui/qt/widgets/qml/TableViewDelegate.qml
+++ b/modules/gui/qt/widgets/qml/TableViewDelegate.qml
@@ -99,7 +99,7 @@ Rectangle {
 
                 selectionDelegateModel.updateSelection(mouse.modifiers, view.currentIndex, index);
 
-                view.currentIndex = rowModel.index;
+                view.currentIndex = index;
 
                 delegate.forceActiveFocus();
             }
@@ -216,7 +216,7 @@ Rectangle {
 
             visible: hoverArea.containsMouse
 
-            onClicked: root.contextMenuButtonClicked(this,  delegate.rowModel)
+            onClicked: root.contextMenuButtonClicked(this, delegate.rowModel)
         }
     }
 }
-- 
2.25.1



More information about the vlc-devel mailing list