mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Distinguish between friendly and real hostnames for remote hosts
* This means we don't pass a friendly hostname internally to connect to, and we don't display a hostname where we want a friendly hostname.
This commit is contained in:
@@ -316,7 +316,8 @@ void MainWindow::OnCaptureTrigger(const QString &exe, const QString &workingDir,
|
||||
LiveCapture *live = new LiveCapture(
|
||||
m_Ctx,
|
||||
m_Ctx.Replay().CurrentRemote() ? m_Ctx.Replay().CurrentRemote()->Hostname : QString(),
|
||||
ret, this, this);
|
||||
m_Ctx.Replay().CurrentRemote() ? m_Ctx.Replay().CurrentRemote()->Name() : QString(), ret,
|
||||
this, this);
|
||||
ShowLiveCapture(live);
|
||||
callback(live);
|
||||
});
|
||||
@@ -357,7 +358,7 @@ void MainWindow::OnInjectTrigger(uint32_t PID, const QList<EnvironmentModificati
|
||||
return;
|
||||
}
|
||||
|
||||
LiveCapture *live = new LiveCapture(m_Ctx, QString(), ret, this, this);
|
||||
LiveCapture *live = new LiveCapture(m_Ctx, QString(), QString(), ret, this, this);
|
||||
ShowLiveCapture(live);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user