[vlc-commits] [Git][videolan/vlc][master] macosx: Fix VLCLibraryMasterDetailViewTableViewDataSource conformance in...

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sun Mar 8 17:23:25 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
6d7920e1 by Claudio Cambra at 2026-03-08T17:46:42+01:00
macosx: Fix VLCLibraryMasterDetailViewTableViewDataSource conformance in VLCLibraryFavoritesDataSource

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -


2 changed files:

- modules/gui/macosx/library/favorites-library/VLCLibraryFavoritesDataSource.h
- modules/gui/macosx/library/favorites-library/VLCLibraryFavoritesDataSource.m


Changes:

=====================================
modules/gui/macosx/library/favorites-library/VLCLibraryFavoritesDataSource.h
=====================================
@@ -48,6 +48,7 @@ typedef NS_ENUM(NSUInteger, VLCLibraryFavoritesSection) {
 @property (readwrite, weak) NSCollectionView *collectionView;
 @property (readwrite, weak) NSTableView *masterTableView;
 @property (readwrite, weak) NSTableView *detailTableView;
+ at property (readwrite, weak, nullable) id<VLCLibraryGroupHeaderDelegate> headerDelegate;
 
 - (void)reloadData;
 - (NSInteger)rowForLibraryItem:(id<VLCMediaLibraryItemProtocol>)libraryItem;


=====================================
modules/gui/macosx/library/favorites-library/VLCLibraryFavoritesDataSource.m
=====================================
@@ -431,6 +431,11 @@ NSString * const VLCLibraryFavoritesDataSourceDisplayedCollectionChangedNotifica
                                    fallbackDetail:fallbackDetail];
 }
 
+- (void)updateHeaderInTableView:(NSTableView *)detailTableView forMasterSelection:(NSTableView *)masterTableView
+{
+    [self updateHeaderForMasterSelection];
+}
+
 - (VLCMediaLibraryParentGroupType)currentParentType
 {
     if (self.masterTableView.selectedRow > -1) {



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6d7920e148e4839155dd61c43cde2ccd84679d3d

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6d7920e148e4839155dd61c43cde2ccd84679d3d
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