[vlc-commits] [Git][videolan/vlc][master] macosx: reload media source grid artwork after item reuse
Steve Lhomme (@robUx4)
gitlab at videolan.org
Wed Jul 29 17:25:47 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
c76c7467 by Serhii Bykov at 2026-07-29T17:14:48+00:00
macosx: reload media source grid artwork after item reuse
- - - - -
1 changed file:
- modules/gui/macosx/library/media-source/VLCMediaSourceCollectionViewItem.m
Changes:
=====================================
modules/gui/macosx/library/media-source/VLCMediaSourceCollectionViewItem.m
=====================================
@@ -54,6 +54,12 @@ NSString *VLCMediaSourceCollectionViewItemIdentifier = @"VLCMediaSourceCollectio
return self;
}
+- (void)prepareForReuse
+{
+ [super prepareForReuse];
+ _representedItem = nil;
+}
+
- (void)setRepresentedItem:(VLCInputItem *)representedItem
{
if (_representedItem == representedItem) {
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c76c74677830aad9a6fc1612098ac2ba67452d8a
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c76c74677830aad9a6fc1612098ac2ba67452d8a
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list