From 5a5aa167f2ca4932056d26e89add9dbf492b5fe4 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 24 May 2022 09:29:33 +0200 Subject: [PATCH] ProjectExplorer: Drop explicit device setting for custom executable Not needed anymore. Change-Id: I8f67de7518aa90ac38c37dc64ab563ef46f53c33 Reviewed-by: Jarek Kobus --- .../projectexplorer/customexecutablerunconfiguration.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp b/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp index 5eb0ff090d7..67cdaa2965a 100644 --- a/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp +++ b/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp @@ -25,7 +25,6 @@ #include "customexecutablerunconfiguration.h" -#include "devicesupport/devicemanager.h" #include "localenvironmentaspect.h" #include "target.h" @@ -82,7 +81,6 @@ Runnable CustomExecutableRunConfiguration::runnable() const r.command = commandLine(); r.environment = aspect()->environment(); r.workingDirectory = workingDirectory; - r.device = DeviceManager::defaultDesktopDevice(); if (!r.command.isEmpty()) { const FilePath expanded = macroExpander()->expand(r.command.executable());