Commit 34f2e6ff authored by David Fuhrmann's avatar David Fuhrmann

macosx: do not use invalid objects for saving settings

parent 197f1a81
......@@ -969,7 +969,7 @@ static VLCMainMenu *_o_sharedInstance = nil;
[[menu itemWithTag:intValue] setState:NSOnState];
vlc_object_release(p_freetype);
}
config_PutInt(p_freetype, [representedObject UTF8String], intValue);
config_PutInt(p_intf, [representedObject UTF8String], intValue);
}
- (IBAction)switchSubtitleBackgroundOpacity:(id)sender
......@@ -982,7 +982,7 @@ static VLCMainMenu *_o_sharedInstance = nil;
var_SetInteger(p_freetype, "freetype-background-opacity", intValue);
vlc_object_release(p_freetype);
}
config_PutInt(p_freetype, "freetype-background-opacity", intValue);
config_PutInt(p_intf, "freetype-background-opacity", intValue);
}
- (IBAction)telxTransparent:(id)sender
......
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