Commit afb4a0fd authored by Felix Paul Kühne's avatar Felix Paul Kühne

* improved previous b_autoplay implementation

parent a7d57cdf
...@@ -97,7 +97,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class ); ...@@ -97,7 +97,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class );
IBOutlet id o_output_ckbox; IBOutlet id o_output_ckbox;
IBOutlet id o_sout_options; IBOutlet id o_sout_options;
BOOL * b_autoplay; BOOL b_autoplay;
} }
+ (VLCOpen *)sharedInstance; + (VLCOpen *)sharedInstance;
......
...@@ -308,7 +308,7 @@ static VLCOpen *_o_sharedMainInstance = nil; ...@@ -308,7 +308,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
int i_result; int i_result;
intf_thread_t * p_intf = VLCIntf; intf_thread_t * p_intf = VLCIntf;
b_autoplay = (BOOL *)config_GetInt( VLCIntf, "macosx-autoplay" ); b_autoplay = config_GetInt( VLCIntf, "macosx-autoplay" );
[o_tabview selectTabViewItemAtIndex: i_type]; [o_tabview selectTabViewItemAtIndex: i_type];
[o_file_sub_ckbox setState: NSOffState]; [o_file_sub_ckbox setState: NSOffState];
...@@ -738,7 +738,7 @@ static VLCOpen *_o_sharedMainInstance = nil; ...@@ -738,7 +738,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
{ {
NSOpenPanel *o_open_panel = [NSOpenPanel openPanel]; NSOpenPanel *o_open_panel = [NSOpenPanel openPanel];
int i; int i;
b_autoplay = (BOOL *)config_GetInt( VLCIntf, "macosx-autoplay" ); b_autoplay = config_GetInt( VLCIntf, "macosx-autoplay" );
[o_open_panel setAllowsMultipleSelection: YES]; [o_open_panel setAllowsMultipleSelection: YES];
[o_open_panel setCanChooseDirectories: YES]; [o_open_panel setCanChooseDirectories: 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