[vlc-commits] qml/TableViewDelegate: Syntax cleanup

Benjamin Arnaud git at videolan.org
Mon Apr 12 08:43:40 UTC 2021


vlc | branch: master | Benjamin Arnaud <benjamin.arnaud at videolabs.io> | Tue Mar 30 10:52:14 2021 +0200| [4c3b403d22e31c17892f857c7929c6f3b1749e4e] | committer: Pierre Lamot

qml/TableViewDelegate: Syntax cleanup

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

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

 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 9912e54ec9..ffe73d30bc 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();
             }
@@ -215,7 +215,7 @@ Rectangle {
 
             visible: hoverArea.containsMouse
 
-            onClicked: root.contextMenuButtonClicked(this,  delegate.rowModel)
+            onClicked: root.contextMenuButtonClicked(this, delegate.rowModel)
         }
     }
 }



More information about the vlc-commits mailing list