From 11c0cc3fa8d2003ae8d8a5df27cb1977deee5a70 Mon Sep 17 00:00:00 2001 From: Garux Date: Mon, 21 Aug 2023 17:25:22 +0600 Subject: [PATCH] fix Shader Editor manual opener, while installed to path with spaces --- radiant/gtkdlgs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radiant/gtkdlgs.cpp b/radiant/gtkdlgs.cpp index a3b31c55..2be1ef70 100644 --- a/radiant/gtkdlgs.cpp +++ b/radiant/gtkdlgs.cpp @@ -2256,10 +2256,10 @@ class TextEditor "" ""; file.close(); - QDesktopServices::openUrl( filename ); + QDesktopServices::openUrl( QUrl::fromUserInput( filename ) ); } #else - QDesktopServices::openUrl( link ); + QDesktopServices::openUrl( QUrl::fromUserInput( link ) ); #endif } );