Skip to content

Commit

Permalink
fix Shader Editor manual opener, while installed to path with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Garux committed Aug 21, 2023
1 parent 69a3a4f commit 11c0cc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radiant/gtkdlgs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
} );

Expand Down

0 comments on commit 11c0cc3

Please sign in to comment.