summaryrefslogtreecommitdiffstats
path: root/macosx/HBPresetsViewController.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2017-11-24 18:44:07 +0100
committerDamiano Galassi <[email protected]>2017-11-24 18:44:07 +0100
commitb43c7c3d9d1f57b425b3e14d8e9e9b8645f77e1e (patch)
tree522b60ac530908b562d467dbe0a6fff1623e8f3e /macosx/HBPresetsViewController.m
parent68c7758a7cf0a397b6dfc584792a8958ddd01322 (diff)
MacGui: use a popover instead of a drawer on 10.10+ .
Diffstat (limited to 'macosx/HBPresetsViewController.m')
-rw-r--r--macosx/HBPresetsViewController.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/macosx/HBPresetsViewController.m b/macosx/HBPresetsViewController.m
index 946523543..9834d9b3d 100644
--- a/macosx/HBPresetsViewController.m
+++ b/macosx/HBPresetsViewController.m
@@ -81,6 +81,11 @@
{
[super loadView];
+ if (NSAppKitVersionNumber >= NSAppKitVersionNumber10_10)
+ {
+ self.view.appearance = [NSAppearance appearanceNamed:NSAppearanceNameAqua];
+ }
+
// drag and drop support
[self.outlineView registerForDraggedTypes:@[kHandBrakePresetPBoardType]];