RemoteLinux: Avoid two explicit uses of IDevice::mapToGlobalPath()

Change-Id: I5e1e3f3de1118234dcaf1faa5690662876e85b4c
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
hjk
2022-05-10 15:45:34 +02:00
parent e2df7b7f6b
commit dfe0776002
2 changed files with 2 additions and 3 deletions

View File

@@ -1027,7 +1027,7 @@ LinuxDevice::LinuxDevice()
d->m_terminals.removeOne(proc);
});
proc->setCommand({ mapToGlobalPath({}), {}});
proc->setCommand({filePath({}), {}});
proc->setTerminalMode(TerminalMode::On);
proc->setEnvironment(env);
proc->setWorkingDirectory(workingDir);