From 83f67c2d94fdf8cafca5804426d177f3e10fd02c Mon Sep 17 00:00:00 2001 From: ritsuka Date: Thu, 21 May 2015 17:00:05 +0000 Subject: MacGui: remove a workaround for a bug in 10.6. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7217 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/HBQueueController.m | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/macosx/HBQueueController.m b/macosx/HBQueueController.m index cc23602ec..2a86bc5bc 100644 --- a/macosx/HBQueueController.m +++ b/macosx/HBQueueController.m @@ -66,15 +66,9 @@ { _descriptions = [[NSMutableDictionary alloc] init]; - // Workaround to avoid a bug in Snow Leopard - // we can switch back to [[NSApplication sharedApplication] applicationIconImage] - // when we won't support it anymore. - NSImage *appIcon = [NSImage imageNamed:@"HandBrake"]; - [appIcon setSize:NSMakeSize(1024, 1024)]; - // Load the dockTile and instiante initial text fields _dockTile = [[HBDockTile alloc] initWithDockTile:[[NSApplication sharedApplication] dockTile] - image:appIcon]; + image:[[NSApplication sharedApplication] applicationIconImage]]; int loggingLevel = [[[NSUserDefaults standardUserDefaults] objectForKey:@"LoggingLevel"] intValue]; -- cgit v1.2.3