mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Remove unused config variable LastCaptureExe
* In the .NET UI this was used to pre-fill the executable selection dialog, but it's unnecessary and hasn't been missed.
This commit is contained in:
@@ -568,7 +568,6 @@ bool CaptureDialog::checkAllowClose()
|
||||
void CaptureDialog::on_exePathBrowse_clicked()
|
||||
{
|
||||
QString initDir;
|
||||
QString file;
|
||||
|
||||
QFileInfo f(ui->exePath->text());
|
||||
QDir dir = f.dir();
|
||||
@@ -579,8 +578,6 @@ void CaptureDialog::on_exePathBrowse_clicked()
|
||||
else if(!m_Ctx.Config().LastCapturePath.isEmpty())
|
||||
{
|
||||
initDir = m_Ctx.Config().LastCapturePath;
|
||||
if(!m_Ctx.Config().LastCaptureExe.isEmpty())
|
||||
file = m_Ctx.Config().LastCaptureExe;
|
||||
}
|
||||
|
||||
QString filename;
|
||||
@@ -927,7 +924,6 @@ void CaptureDialog::SetExecutableFilename(const rdcstr &filename)
|
||||
if(!m_Ctx.Replay().CurrentRemote())
|
||||
{
|
||||
m_Ctx.Config().LastCapturePath = QFileInfo(fn).absolutePath();
|
||||
m_Ctx.Config().LastCaptureExe = QFileInfo(fn).completeBaseName();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user