summaryrefslogtreecommitdiffstats
path: root/macosx/HBHUDView.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-08-25 15:25:04 +0000
committerritsuka <[email protected]>2014-08-25 15:25:04 +0000
commit68f946e7ea88e2393338716d36a90d36dc1337fb (patch)
tree18f2e97932338432a6f2e55cd87aad0aedeb1cae /macosx/HBHUDView.m
parentd4a76e2f9aef0323281952ccc5eb0c6cf9242ab3 (diff)
MacGui: fix build with 10.8 sdk.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6359 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBHUDView.m')
-rw-r--r--macosx/HBHUDView.m5
1 files changed, 1 insertions, 4 deletions
diff --git a/macosx/HBHUDView.m b/macosx/HBHUDView.m
index bc8bb20c9..27b6407fa 100644
--- a/macosx/HBHUDView.m
+++ b/macosx/HBHUDView.m
@@ -29,7 +29,7 @@
[view setMaterial:2];
[view setState:1];
- [view setAppearance:[NSAppearance appearanceNamed:@"NSAppearanceNameVibrantDark"]];
+ [view setAppearance:[NSClassFromString(@"NSAppearance") appearanceNamed:@"NSAppearanceNameVibrantDark"]];
}
- (void)drawRect:(NSRect)dirtyRect
@@ -66,9 +66,6 @@
else
{
self = [super initWithFrame:frame];
- if (self)
- {
- }
}
return self;