fix Shader Editor manual opener, while installed to path with spaces
This commit is contained in:
parent
69a3a4f829
commit
11c0cc3fa8
|
|
@ -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
|
||||
} );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user