From 26d9e6900eceec23049e0c2b8016464f60d4fa1c Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 5 Oct 2022 16:26:45 +0200 Subject: [PATCH] ProjectExplorer: Don't try to fix remote build paths Change-Id: Ia8a980fcb5154cfbfb412b3d7c4b565e9d200b15 Reviewed-by: Christian Kandeler --- src/plugins/projectexplorer/buildaspects.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/projectexplorer/buildaspects.cpp b/src/plugins/projectexplorer/buildaspects.cpp index 5f80e50eabb..02cc62b69e2 100644 --- a/src/plugins/projectexplorer/buildaspects.cpp +++ b/src/plugins/projectexplorer/buildaspects.cpp @@ -113,6 +113,8 @@ void BuildDirectoryAspect::addToLayout(LayoutBuilder &builder) FilePath BuildDirectoryAspect::fixupDir(const FilePath &dir) { + if (dir.needsDevice()) + return dir; if (HostOsInfo::isWindowsHost() && !dir.startsWithDriveLetter()) return {}; const QString dirString = dir.toString().toLower();