ProjectExplorer: Merge IDevice::{filePath,mapToGlobalPath}

They were doing practically the same. Keep the 'filePath' name for
now until something more fitting comes up.

Change-Id: I96ca4da4b30b7b463583e002f2c19d6e6c5541e6
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
hjk
2022-12-14 17:26:30 +01:00
parent 67c2570d74
commit 5787a22f69
9 changed files with 15 additions and 35 deletions

View File

@@ -119,7 +119,7 @@ FilePath ProjectConfiguration::mapFromBuildDeviceToGlobalPath(const FilePath &pa
{
IDevice::ConstPtr dev = BuildDeviceKitAspect::device(kit());
QTC_ASSERT(dev, return path);
return dev->mapToGlobalPath(path);
return dev->filePath(path.path());
}
Id ProjectExplorer::idFromMap(const QVariantMap &map)