From 993815cb062727565fed840f22d65e97bf9a09c3 Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Mon, 7 Nov 2022 12:34:58 +0100 Subject: [PATCH] ProjectExplorer: Fix build device retrieval in BuildDirectoryAspect Change-Id: I40aeb4a775a99df7395f4c23476bae7f98201b69 Reviewed-by: Marcus Tillmanns Reviewed-by: Reviewed-by: hjk --- src/plugins/projectexplorer/buildaspects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/buildaspects.cpp b/src/plugins/projectexplorer/buildaspects.cpp index 919bd837e6f..383149d3b70 100644 --- a/src/plugins/projectexplorer/buildaspects.cpp +++ b/src/plugins/projectexplorer/buildaspects.cpp @@ -50,7 +50,7 @@ BuildDirectoryAspect::BuildDirectoryAspect(const BuildConfiguration *bc) edit->setText(fixedDir.toUserOutput()); const FilePath newPath = FilePath::fromUserInput(edit->text()); - const auto buildDevice = DeviceKitAspect::device(d->target->kit()); + const auto buildDevice = BuildDeviceKitAspect::device(d->target->kit()); if (buildDevice && buildDevice->type() != ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE && !buildDevice->rootPath().ensureReachable(newPath)) {