Add dialog for both managing remote hosts (add/remove) and attaching

This commit is contained in:
baldurk
2017-02-09 15:42:54 +00:00
parent 47be248cad
commit e1d180246c
13 changed files with 1052 additions and 14 deletions
+1 -9
View File
@@ -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())
{