mirror of https://code.videolan.org/videolan/vlc
macosx: Add parentheses to representedItem in informationwindowcontroller
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
This commit is contained in:
parent
58ec5cfdc7
commit
b0162f06e2
|
@ -264,7 +264,7 @@ _##field##TextField.delegate = self
|
|||
|
||||
- (void)setRepresentedInputItem:(VLCInputItem *)representedInputItem
|
||||
{
|
||||
_representedInputItems = representedInputItem == nil ? @[] : @[representedInputItem];
|
||||
_representedInputItems = (representedInputItem == nil) ? @[] : @[representedInputItem];
|
||||
_artwork = [VLCLibraryImageCache thumbnailForInputItem:representedInputItem];
|
||||
[self updateRepresentation];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue