Remove LaunchURL()
Unused and insecure. Related to https://gitlab.com/kicad/code/kicad/-/issues/9236
This commit is contained in:
parent
2e120528c8
commit
adafb15126
|
@ -40,13 +40,3 @@ void LaunchExternal( const wxString& aPath )
|
|||
wxLaunchDefaultApplication( path );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
void LaunchURL( const wxString& aUrl )
|
||||
{
|
||||
#ifdef __WXMAC__
|
||||
wxExecute( wxString::Format( "open %s", aUrl ) );
|
||||
#else
|
||||
wxLaunchDefaultApplication( aUrl );
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -29,10 +29,4 @@ class wxString;
|
|||
*/
|
||||
void LaunchExternal( const wxString& aPath );
|
||||
|
||||
/**
|
||||
* Attempts to launch a given URL in the user's browser
|
||||
* @param aUrl is a valid URL (already escaped)
|
||||
*/
|
||||
void LaunchURL( const wxString& aUrl );
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue