Commit a1886369 authored by David Fuhrmann's avatar David Fuhrmann

macosx: fix advanced prefs dialog initialization

parent 6f3007d8
......@@ -170,6 +170,10 @@
- (id)init
{
self = [super initWithWindowNibName:@"Preferences"];
if (self) {
o_emptyView = [[NSView alloc] init];
_rootTreeItem = [[VLCTreeMainItem alloc] init];
}
return self;
}
......@@ -177,9 +181,6 @@
- (void)windowDidLoad
{
o_emptyView = [[NSView alloc] init];
_rootTreeItem = [[VLCTreeMainItem alloc] init];
[self.window setCollectionBehavior: NSWindowCollectionBehaviorFullScreenAuxiliary];
[self.window setHidesOnDeactivate:YES];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment