diff --git a/src/libs/utils/fileutils.h b/src/libs/utils/fileutils.h index f76b621c484..7b19997c548 100644 --- a/src/libs/utils/fileutils.h +++ b/src/libs/utils/fileutils.h @@ -78,7 +78,6 @@ public: std::function renameFile; std::function &)> searchInPath; std::function symLinkTarget; - std::function mapToGlobalPath; std::function mapToDevicePath; std::function &, // Abort on 'false' return. diff --git a/src/plugins/projectexplorer/devicesupport/devicemanager.cpp b/src/plugins/projectexplorer/devicesupport/devicemanager.cpp index 976c269568e..e97bd096969 100644 --- a/src/plugins/projectexplorer/devicesupport/devicemanager.cpp +++ b/src/plugins/projectexplorer/devicesupport/devicemanager.cpp @@ -520,12 +520,6 @@ DeviceManager::DeviceManager(bool isInstance) : d(std::make_uniquesymLinkTarget(filePath); }; - deviceHooks.mapToGlobalPath = [](const FilePath &filePath) { - auto device = DeviceManager::deviceForPath(filePath); - QTC_ASSERT(device, return FilePath{}); - return device->mapToGlobalPath(filePath); - }; - deviceHooks.mapToDevicePath = [](const FilePath &filePath) { auto device = DeviceManager::deviceForPath(filePath); QTC_ASSERT(device, return QString{});