forked from qt-creator/qt-creator
Android: Fix removeForwardPortRecipe
Amends 0067d5a445
Change-Id: I6fb4cd58c3a430979133987ccb2f5c2e39efd53d
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -570,7 +570,7 @@ ExecutableItem AndroidRunnerWorker::removeForwardPortRecipe(
|
|||||||
};
|
};
|
||||||
|
|
||||||
const auto onForwardPortSetup = [this, port, adbArg](Process &process) {
|
const auto onForwardPortSetup = [this, port, adbArg](Process &process) {
|
||||||
process.setCommand({AndroidConfig::adbToolPath(), {selector(), port, adbArg}});
|
process.setCommand({AndroidConfig::adbToolPath(), {selector(), "forward", port, adbArg}});
|
||||||
};
|
};
|
||||||
const auto onForwardPortDone = [this, port, portType](DoneWith result) {
|
const auto onForwardPortDone = [this, port, portType](DoneWith result) {
|
||||||
if (result == DoneWith::Success)
|
if (result == DoneWith::Success)
|
||||||
|
Reference in New Issue
Block a user