mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Add dialog for both managing remote hosts (add/remove) and attaching
This commit is contained in:
@@ -916,16 +916,8 @@ void LiveCapture::connectionClosed()
|
||||
|
||||
void LiveCapture::connectionThreadEntry()
|
||||
{
|
||||
QProcessEnvironment env = QProcessEnvironment::systemEnvironment();
|
||||
|
||||
QString username = env.value("USER");
|
||||
if(username == QString())
|
||||
username = env.value("USERNAME");
|
||||
if(username == QString())
|
||||
username = "Unknown_User";
|
||||
|
||||
m_Connection = RENDERDOC_CreateTargetControl(m_Hostname.toUtf8().data(), m_RemoteIdent,
|
||||
username.toUtf8().data(), true);
|
||||
GetSystemUsername().toUtf8().data(), true);
|
||||
|
||||
if(m_Connection == NULL || !m_Connection->Connected())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user