mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-14 09:50:06 +00:00
Add custom browsing for executable files that checks permissions
This commit is contained in:
1 parent
b2464e1c64
commit
a85eb017a3
3 files changed
+87
-2
No files matched your search
@@ -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