forked from qt-creator/qt-creator
RunControl: fix device passing to the doStart()
Brokken by the f1e973de79
.
We must pass local `runnable` instead of runControl()->runnable(),
otherwise device member will be nullptr that breaks all non-Desktop run
configurations, like RemoteLinux one.
Change-Id: I0499008aee14cb3bbcc3e1ebda71c50533b6502e
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
committed by
Jarek Kobus
parent
8e0ae8ba96
commit
771d0d67b9
@@ -1193,7 +1193,7 @@ void SimpleTargetRunner::start()
|
||||
} else {
|
||||
Runnable runnable = runControl()->runnable();
|
||||
runnable.device = runControl()->device();
|
||||
doStart(runControl()->runnable());
|
||||
doStart(runnable);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user