mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-20 02:51:13 +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:
1 parent
d44528794a
commit
628e6481d5
5 files changed
+23
-17
No files matched your search
@@ -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