Fixed some deprecated api warnings.
This commit is contained in:
1 parent
7dcf857660
commit
5083abe3ed
12 files changed
+74
-88
No files matched your search
@@ -200,7 +200,7 @@
|
||||
if ([tableColumn.identifier isEqualToString:@"check"]) {
|
||||
NSButtonCell *buttonCell = [[NSButtonCell alloc] init];
|
||||
[buttonCell setButtonType:NSSwitchButton];
|
||||
buttonCell.controlSize = NSSmallControlSize;
|
||||
buttonCell.controlSize = NSControlSizeSmall;
|
||||
buttonCell.title = @"";
|
||||
|
||||
buttonCell.enabled = (isTrackMuxable(track.format) || trackNeedConversion(track.format)) ? YES : NO;
|
||||
@@ -212,7 +212,7 @@
|
||||
NSPopUpButtonCell *actionCell = [[NSPopUpButtonCell alloc] init];
|
||||
[actionCell setAutoenablesItems:NO];
|
||||
actionCell.font = [NSFont systemFontOfSize:11];
|
||||
actionCell.controlSize = NSSmallControlSize;
|
||||
actionCell.controlSize = NSControlSizeSmall;
|
||||
[actionCell setBordered:NO];
|
||||
|
||||
if ([track isMemberOfClass:[MP42VideoTrack class]]) {
|
||||
|
||||
Reference in new issue
Block a user