From 11e8c42dca071c1f4536d939adbfdb13bbd6645a Mon Sep 17 00:00:00 2001 From: ritsuka Date: Sat, 27 Dec 2014 10:48:12 +0000 Subject: MacGui: remove unneeded init. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6656 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/HBVideoController.m | 4 ---- macosx/PictureController.m | 3 --- 2 files changed, 7 deletions(-) diff --git a/macosx/HBVideoController.m b/macosx/HBVideoController.m index 8819ac93e..fa0bb192e 100644 --- a/macosx/HBVideoController.m +++ b/macosx/HBVideoController.m @@ -62,10 +62,6 @@ static void *HBVideoControllerContext = &HBVideoControllerContext; self = [super initWithNibName:@"Video" bundle:nil]; if (self) { - // Use a single HBVideo instance for now, - // will use the HBJob one in the future. - _video = [[HBVideo alloc] init]; - // Observe the advanced tab pref shown/hided state. [[NSUserDefaultsController sharedUserDefaultsController] addObserver:self forKeyPath:@"values.HBShowAdvancedTab" diff --git a/macosx/PictureController.m b/macosx/PictureController.m index 7d65d5664..4edded132 100644 --- a/macosx/PictureController.m +++ b/macosx/PictureController.m @@ -45,9 +45,6 @@ static void *HBPictureControllerContext = &HBPictureControllerContext; { if (self = [super initWithWindowNibName:@"PictureSettings"]) { - _filters = [[HBFilters alloc] init]; - _picture = [[HBPicture alloc] init]; - // NSWindowController likes to lazily load its window. However since // this controller tries to set all sorts of outlets before the window // is displayed, we need it to load immediately. The correct way to do -- cgit v1.2.3