vlc | branch: master | Marvin Scholz <[email protected]> | Wed May 15 16:20:54 
2019 +0200| [bcf766c1b04df5a7e2a25e3d9601159e0bf37e21] | committer: Marvin 
Scholz

macosx: Call on super in prepareForReuse

Per the documentation: "Subclasses should call super at some
point in their implementation."

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bcf766c1b04df5a7e2a25e3d9601159e0bf37e21
---

 modules/gui/macosx/library/VLCLibraryAlbumTableCellView.m | 1 +
 modules/gui/macosx/library/VLCLibraryTableCellView.m      | 1 +
 2 files changed, 2 insertions(+)

diff --git a/modules/gui/macosx/library/VLCLibraryAlbumTableCellView.m 
b/modules/gui/macosx/library/VLCLibraryAlbumTableCellView.m
index 98eb6e070b..a126e63b5b 100644
--- a/modules/gui/macosx/library/VLCLibraryAlbumTableCellView.m
+++ b/modules/gui/macosx/library/VLCLibraryAlbumTableCellView.m
@@ -58,6 +58,7 @@ static NSString *VLCAudioLibraryCellIdentifier = 
@"VLCAudioLibraryCellIdentifier
 
 - (void)prepareForReuse
 {
+    [super prepareForReuse];
     self.representedImageView.image = nil;
     self.albumNameTextField.stringValue = @"";
     self.yearTextField.stringValue = @"";
diff --git a/modules/gui/macosx/library/VLCLibraryTableCellView.m 
b/modules/gui/macosx/library/VLCLibraryTableCellView.m
index 26640ce72c..cccd6adee5 100644
--- a/modules/gui/macosx/library/VLCLibraryTableCellView.m
+++ b/modules/gui/macosx/library/VLCLibraryTableCellView.m
@@ -46,6 +46,7 @@
 
 - (void)prepareForReuse
 {
+    [super prepareForReuse];
     self.representedImageView.image = nil;
     self.primaryTitleTextField.hidden = YES;
     self.secondaryTitleTextField.hidden = YES;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to