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 );
IBOutlet id o_output_ckbox;
IBOutlet id o_sout_options;
BOOL * b_autoplay;
BOOL b_autoplay;
}
+ (VLCOpen *)sharedInstance;
......
......@@ -308,7 +308,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
int i_result;
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_file_sub_ckbox setState: NSOffState];
......@@ -738,7 +738,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
{
NSOpenPanel *o_open_panel = [NSOpenPanel openPanel];
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 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