summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-05-21 17:00:05 +0000
committerritsuka <[email protected]>2015-05-21 17:00:05 +0000
commit83f67c2d94fdf8cafca5804426d177f3e10fd02c (patch)
tree9081f65705f185f8c0a38c70b22efba397336041
parent2cacd741ad291f71576aea4cddf6cd45b1d6b729 (diff)
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
-rw-r--r--macosx/HBQueueController.m8
1 files changed, 1 insertions, 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];