forked from qt-creator/qt-creator
Docker: fix device path mapping
Amends 1fa3255242
Change-Id: Idd2e0916769cd822b97e1fc851d8f706316cca83
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -211,11 +211,6 @@ FilePath IDevice::mapToGlobalPath(const FilePath &pathOnDevice) const
|
||||
return FilePath::fromParts(u"device", id().toString(), pathOnDevice.path());
|
||||
}
|
||||
|
||||
QString IDevice::mapToDevicePath(const FilePath &globalPath) const
|
||||
{
|
||||
return globalPath.path();
|
||||
}
|
||||
|
||||
FilePath IDevice::filePath(const QString &pathOnDevice) const
|
||||
{
|
||||
return mapToGlobalPath(FilePath::fromString(pathOnDevice));
|
||||
|
||||
@@ -219,7 +219,6 @@ public:
|
||||
virtual bool handlesFile(const Utils::FilePath &filePath) const;
|
||||
|
||||
virtual Utils::FilePath mapToGlobalPath(const Utils::FilePath &pathOnDevice) const;
|
||||
virtual QString mapToDevicePath(const Utils::FilePath &globalPath) const;
|
||||
|
||||
virtual Utils::FilePath searchExecutableInPath(const QString &fileName) const;
|
||||
virtual Utils::FilePath searchExecutable(const QString &fileName,
|
||||
|
||||
Reference in New Issue
Block a user