ProjectExplorer: Drop explicit device setting for custom executable

Not needed anymore.

Change-Id: I8f67de7518aa90ac38c37dc64ab563ef46f53c33
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
hjk
2022-05-24 09:29:33 +02:00
parent f79a71df7b
commit 5a5aa167f2

View File

@@ -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<EnvironmentAspect>()->environment();
r.workingDirectory = workingDirectory;
r.device = DeviceManager::defaultDesktopDevice();
if (!r.command.isEmpty()) {
const FilePath expanded = macroExpander()->expand(r.command.executable());