From e1a0826ef52d8a8650fdac7f36a58a2b1fd68c77 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Fri, 24 Oct 2014 22:32:25 +0200 Subject: Linux: remove workaround for wxFileType::GetOpenCommand bug in handling path with spaces because it was fixed in wxWidgets 3.0 and this workaround causes problems. --- src/Main/GraphicUserInterface.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/Main/GraphicUserInterface.cpp') diff --git a/src/Main/GraphicUserInterface.cpp b/src/Main/GraphicUserInterface.cpp index e225726a..952f04a9 100644 --- a/src/Main/GraphicUserInterface.cpp +++ b/src/Main/GraphicUserInterface.cpp @@ -996,13 +996,8 @@ namespace VeraCrypt { try { -#ifdef TC_MACOSX if (wxExecute (fileType->GetOpenCommand (document.GetFullPath())) != 0) return; -#else - if (wxExecute (fileType->GetOpenCommand (L"\"" + document.GetFullPath() + L"\"")) != 0) - return; -#endif } catch (TimeOut&) { } } -- cgit v1.2.3