[vlc-commits] [Git][videolan/vlc][master] macosx: Implement connect in VLCLibraryPlaylistDataSource, fixing crash
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu Sep 25 09:21:53 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
6f6fb345 by Claudio Cambra at 2025-09-25T09:02:29+00:00
macosx: Implement connect in VLCLibraryPlaylistDataSource, fixing crash
- - - - -
1 changed file:
- modules/gui/macosx/library/playlist-library/VLCLibraryPlaylistDataSource.m
Changes:
=====================================
modules/gui/macosx/library/playlist-library/VLCLibraryPlaylistDataSource.m
=====================================
@@ -60,8 +60,12 @@ typedef NS_ENUM(NSInteger, VLCLibraryDataSourceCacheAction) {
- (void)setup
{
_libraryModel = VLCMain.sharedInstance.libraryController.libraryModel;
+ [self connect];
[self reloadData];
+}
+- (void)connect
+{
NSNotificationCenter * const notificationCenter = NSNotificationCenter.defaultCenter;
[notificationCenter addObserver:self
selector:@selector(playlistsReset:)
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6f6fb3451c2eba07ab5830018f6c410ca6b9f274
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6f6fb3451c2eba07ab5830018f6c410ca6b9f274
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