mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Save last capture path per remote host. Closes #1094
This commit is contained in:
@@ -41,6 +41,8 @@ RemoteHost::RemoteHost(const QVariant &var)
|
||||
friendlyName = map[lit("friendlyName")].toString();
|
||||
if(map.contains(lit("runCommand")))
|
||||
runCommand = map[lit("runCommand")].toString();
|
||||
if(map.contains(lit("lastCapturePath")))
|
||||
lastCapturePath = map[lit("lastCapturePath")].toString();
|
||||
|
||||
serverRunning = connected = busy = versionMismatch = false;
|
||||
}
|
||||
@@ -51,6 +53,7 @@ RemoteHost::operator QVariant() const
|
||||
map[lit("hostname")] = hostname;
|
||||
map[lit("friendlyName")] = friendlyName;
|
||||
map[lit("runCommand")] = runCommand;
|
||||
map[lit("lastCapturePath")] = lastCapturePath;
|
||||
return map;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user