Remove LaunchURL()

Unused and insecure.

Related to https://gitlab.com/kicad/code/kicad/-/issues/9236
This commit is contained in:
Mikolaj Wielgus 2021-09-28 22:36:46 +02:00
parent 2e120528c8
commit adafb15126
2 changed files with 0 additions and 16 deletions

View File

@ -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
}

View File

@ -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