mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-22 21:55:52 +00:00
Add custom browsing for executable files that checks permissions
This commit is contained in:
@@ -283,8 +283,7 @@ void CaptureDialog::on_exePathBrowse_clicked()
|
||||
|
||||
// if(m_Core.Renderer.Remote == null)
|
||||
{
|
||||
QString filename = RDDialog::getOpenFileName(this, tr("Choose executable"), initDir,
|
||||
"Executable files (*.exe);;All files (*.*)");
|
||||
QString filename = RDDialog::getExecutableFileName(this, tr("Choose executable"), initDir);
|
||||
|
||||
if(filename != "")
|
||||
setExecutableFilename(filename);
|
||||
|
||||
Reference in New Issue
Block a user