ProjectExplorer: Always initialize RunControl's runnable from RunConfig

That's a good first approximation and often enough all that is needed.

Change-Id: If54cdb0e98cda94bc4a4ef24fcc12c78018c4dbe
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2017-04-06 11:26:35 +02:00
parent 1ad6c9465c
commit ff62ef3d92
7 changed files with 5 additions and 28 deletions

View File

@@ -159,7 +159,7 @@ void LinuxDeviceDebugSupport::startExecution()
Runnable LinuxDeviceDebugSupport::realRunnable() const
{
StandardRunnable r = runnable();
StandardRunnable r = runControl()->runnable().as<StandardRunnable>();
QStringList args = QtcProcess::splitArgs(r.commandLineArguments, OsTypeLinux);
QString command;