forked from qt-creator/qt-creator
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:
@@ -25,7 +25,6 @@
|
|||||||
|
|
||||||
#include "customexecutablerunconfiguration.h"
|
#include "customexecutablerunconfiguration.h"
|
||||||
|
|
||||||
#include "devicesupport/devicemanager.h"
|
|
||||||
#include "localenvironmentaspect.h"
|
#include "localenvironmentaspect.h"
|
||||||
#include "target.h"
|
#include "target.h"
|
||||||
|
|
||||||
@@ -82,7 +81,6 @@ Runnable CustomExecutableRunConfiguration::runnable() const
|
|||||||
r.command = commandLine();
|
r.command = commandLine();
|
||||||
r.environment = aspect<EnvironmentAspect>()->environment();
|
r.environment = aspect<EnvironmentAspect>()->environment();
|
||||||
r.workingDirectory = workingDirectory;
|
r.workingDirectory = workingDirectory;
|
||||||
r.device = DeviceManager::defaultDesktopDevice();
|
|
||||||
|
|
||||||
if (!r.command.isEmpty()) {
|
if (!r.command.isEmpty()) {
|
||||||
const FilePath expanded = macroExpander()->expand(r.command.executable());
|
const FilePath expanded = macroExpander()->expand(r.command.executable());
|
||||||
|
Reference in New Issue
Block a user