aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Kandeler <[email protected]>2025-10-13 15:32:24 +0200
committerChristian Kandeler <[email protected]>2025-10-13 14:02:36 +0000
commite3d56956dd0821018e3d6abbffeafcf3862130af (patch)
tree839b8f4f231ee0dee1a347b4106d5bed141860ca
parent039c794cc2a4b4a49a04ba3ff2b5959b896ca951 (diff)
ProjectExplorer: Fix BuildDirectoryAspect::fixupDir()
The caller expects an empty value if there's nothing to do. Amends 26d9e6900eceec23049e0c2b8016464f60d4fa1c. Change-Id: Ia3b4fe168e758bc78b32457a0db50c359b953098 Reviewed-by: hjk <[email protected]>
-rw-r--r--src/plugins/projectexplorer/buildaspects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/buildaspects.cpp b/src/plugins/projectexplorer/buildaspects.cpp
index 3a7f61b4dd3..41d8adf92d6 100644
--- a/src/plugins/projectexplorer/buildaspects.cpp
+++ b/src/plugins/projectexplorer/buildaspects.cpp
@@ -157,7 +157,7 @@ void BuildDirectoryAspect::addToLayoutImpl(Layouting::Layout &parent)
FilePath BuildDirectoryAspect::fixupDir(const FilePath &dir)
{
if (!dir.isLocal())
- return dir;
+ return {};
if (HostOsInfo::isWindowsHost() && !dir.startsWithDriveLetter())
return {};
const QString dirString = dir.toUrlishString().toLower();