1
mirror of https://code.videolan.org/videolan/vlc synced 2024-08-18 23:45:06 +02:00

macosx: use https instead of http for links opened from within the application

This commit is contained in:
Felix Paul Kühne 2019-04-19 13:04:32 +02:00
parent 0d2f717083
commit 9da6cedb6e
2 changed files with 5 additions and 5 deletions

View File

@ -1430,28 +1430,28 @@ typedef NS_ENUM(NSInteger, VLCObjectType) {
- (IBAction)openDocumentation:(id)sender
{
NSURL *url = [NSURL URLWithString: @"http://www.videolan.org/doc/"];
NSURL *url = [NSURL URLWithString: @"https://www.videolan.org/doc/"];
[[NSWorkspace sharedWorkspace] openURL: url];
}
- (IBAction)openWebsite:(id)sender
{
NSURL *url = [NSURL URLWithString: @"http://www.videolan.org/"];
NSURL *url = [NSURL URLWithString: @"https://www.videolan.org/"];
[[NSWorkspace sharedWorkspace] openURL: url];
}
- (IBAction)openForum:(id)sender
{
NSURL *url = [NSURL URLWithString: @"http://forum.videolan.org/"];
NSURL *url = [NSURL URLWithString: @"https://forum.videolan.org/"];
[[NSWorkspace sharedWorkspace] openURL: url];
}
- (IBAction)openDonate:(id)sender
{
NSURL *url = [NSURL URLWithString: @"http://www.videolan.org/contribute.html#paypal"];
NSURL *url = [NSURL URLWithString: @"https://www.videolan.org/contribute.html#paypal"];
[[NSWorkspace sharedWorkspace] openURL: url];
}

View File

@ -63,7 +63,7 @@
_NS(I_LONGHELP)];
[[helpWebView mainFrame] loadHTMLString:htmlWithStyle
baseURL:[NSURL URLWithString:@"http://videolan.org"]];
baseURL:[NSURL URLWithString:@"https://videolan.org"]];
}
- (void)webView:(WebView *)sender didFinishLoadForFrame:(WebFrame *)frame