[vlc-commits] [Git][videolan/vlc][master] 2 commits: updated KeyNavigableTableView, TableViewDelegate

Steve Lhomme (@robUx4) gitlab at videolan.org
Sun Jan 21 14:02:08 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
801450a9 by Ash V at 2024-01-21T13:34:29+00:00
updated KeyNavigableTableView, TableViewDelegate
- - - - -
d085a439 by Ash V at 2024-01-21T13:34:29+00:00
Update file KeyNavigableTableView.qml
- - - - -


2 changed files:

- modules/gui/qt/widgets/qml/KeyNavigableTableView.qml
- modules/gui/qt/widgets/qml/TableViewDelegate.qml


Changes:

=====================================
modules/gui/qt/widgets/qml/KeyNavigableTableView.qml
=====================================
@@ -40,7 +40,7 @@ FocusScope {
 
         Accessible.ignored: true
 
-        text: model.text || ""
+        text: colModel.text || ""
         color: parent.colorContext.fg.secondary
     }
 
@@ -308,10 +308,11 @@ FocusScope {
                                 anchors.top: parent.top
                                 anchors.bottom: parent.bottom
 
-                                property var model: modelData.model
+                                property var colModel: modelData.model
+
                                 readonly property ColorContext colorContext: view.colorContext
 
-                                sourceComponent: model.headerDelegate || root.tableHeaderDelegate
+                                sourceComponent: colModel.headerDelegate || root.tableHeaderDelegate
                             }
 
                             Text {


=====================================
modules/gui/qt/widgets/qml/TableViewDelegate.qml
=====================================
@@ -200,8 +200,7 @@ T.Control {
 
                 height: parent.height
 
-                sourceComponent: (colModel.colDelegate) ? colModel.colDelegate
-                                                        : delegate.defaultDelegate
+                sourceComponent: colModel.colDelegate || delegate.defaultDelegate
             }
         }
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/306505b7c460a7078bf2ce481dd8c5d866c6f8c7...d085a4396d38383603784d7a41cada428114ed0b

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/306505b7c460a7078bf2ce481dd8c5d866c6f8c7...d085a4396d38383603784d7a41cada428114ed0b
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list