[vlc-commits] [Git][videolan/vlc][master] qml/ExpandGridView: Handle the 'layoutChanged' event
Hugo Beauzée-Luyssen (@chouquette)
gitlab at videolan.org
Thu Jul 28 09:20:03 UTC 2022
Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC
Commits:
6fb3d638 by Benjamin Arnaud at 2022-07-28T07:36:18+00:00
qml/ExpandGridView: Handle the 'layoutChanged' event
This fixes a sorting issue we had in our network views.
- - - - -
1 changed file:
- modules/gui/qt/widgets/qml/ExpandGridView.qml
Changes:
=====================================
modules/gui/qt/widgets/qml/ExpandGridView.qml
=====================================
@@ -229,6 +229,9 @@ FocusScope {
onRowsInserted: _onModelCountChanged()
onRowsRemoved: _onModelCountChanged()
onModelReset: _onModelCountChanged()
+
+ // NOTE: This is useful for SortFilterProxyModel(s).
+ onLayoutChanged: _onModelCountChanged()
}
Connections {
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6fb3d6384c3672dab4068f896417417226f7a266
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6fb3d6384c3672dab4068f896417417226f7a266
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