fix Shader Editor manual opener, while installed to path with spaces

This commit is contained in:
Garux 2023-08-21 17:25:22 +06:00
parent 69a3a4f829
commit 11c0cc3fa8

View File

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