forked from qt-creator/qt-creator
Make local custom executables run independent of device selection
Task-number: QTCREATORBUG-16199 Change-Id: I1e9e2103e626c6480fa1c5ac9b2b3f8ac93e3038 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -85,8 +85,9 @@ void ValgrindRunControl::start()
|
||||
ValgrindRunner *run = runner();
|
||||
run->setValgrindExecutable(m_settings->valgrindExecutable());
|
||||
run->setValgrindArguments(genericToolArguments() + toolArguments());
|
||||
run->setDevice(device());
|
||||
run->setDebuggee(runnable().as<StandardRunnable>());
|
||||
const StandardRunnable r = runnable().as<StandardRunnable>();
|
||||
run->setDevice(r.device ? r.device : device());
|
||||
run->setDebuggee(r);
|
||||
|
||||
connect(run, &ValgrindRunner::processOutputReceived,
|
||||
this, &ValgrindRunControl::receiveProcessOutput);
|
||||
|
||||
Reference in New Issue
Block a user