From 9e72c3b38d7ba4f5fda2aad4ea77f73c479fbb16 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Wed, 29 Sep 2021 16:17:07 -0700 Subject: [PATCH] Don't add quotes for LaunchExternal in 3.0 either The quotes do not work in GTK 3.0.5. Since GTK is the only platform we have left running 3.0, we can remove this. --- common/launch_ext.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/common/launch_ext.cpp b/common/launch_ext.cpp index ec71155649..d1dc541f0f 100644 --- a/common/launch_ext.cpp +++ b/common/launch_ext.cpp @@ -29,14 +29,6 @@ void LaunchExternal( const wxString& aPath ) #else wxString path( aPath ); -#if !wxCHECK_VERSION( 3, 1, 0 ) - // Quote in case there are spaces in the path. - // Not needed on 3.1.4, but needed in 3.0 versions - // Moreover, on Linux, on 3.1.4 wx version, adding quotes breaks - // wxLaunchDefaultApplication - QuoteString( path ); -#endif - wxLaunchDefaultApplication( path ); #endif }