forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user