mirror of
https://github.com/Garux/netradiant-custom.git
synced 2026-09-28 00:00:03 +02:00
fix Shader Editor manual opener, while installed to path with spaces
This commit is contained in:
+2
-2
@@ -2256,10 +2256,10 @@ class TextEditor
|
||||
"<meta http-equiv=Refresh content=\"0; url=" << link << "\"><body></body>"
|
||||
"</html>";
|
||||
file.close();
|
||||
QDesktopServices::openUrl( filename );
|
||||
QDesktopServices::openUrl( QUrl::fromUserInput( filename ) );
|
||||
}
|
||||
#else
|
||||
QDesktopServices::openUrl( link );
|
||||
QDesktopServices::openUrl( QUrl::fromUserInput( link ) );
|
||||
#endif
|
||||
} );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user