diff options
author | Christian Kandeler <[email protected]> | 2012-04-03 10:23:59 +0200 |
---|---|---|
committer | Christian Kandeler <[email protected]> | 2012-04-03 13:45:38 +0200 |
commit | 1348e9297158a0cd63a2b3ded65d4b3b9d410048 (patch) | |
tree | 4593a460837996b6dbf65492217ed48f73987c6b /src/plugins/remotelinux/remotelinuxapplicationrunner.cpp | |
parent | 23a420eb3fdc30aa7c0357ac5e817c7fe398f9e2 (diff) |
RemoteLinux: Fix ports gatherer API.
The ports gatherer used to take an SshConnection for historical reasons
(connection sharing in the absence of a connection manager). This is no
longer required, since all the information needed for creating or
re-using a connection is available from the device.
In addition, the old code assumes the connection is already established,
which some newer callers did not adhere to, so this patch also fixes a
bug.
Change-Id: I3fd7fec7de9b64126358749f727a403bfa1e0a94
Reviewed-by: Nikolai Kosjar <[email protected]>
Diffstat (limited to 'src/plugins/remotelinux/remotelinuxapplicationrunner.cpp')
-rw-r--r-- | src/plugins/remotelinux/remotelinuxapplicationrunner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/remotelinux/remotelinuxapplicationrunner.cpp b/src/plugins/remotelinux/remotelinuxapplicationrunner.cpp index f4e9e42658c..1485db51c58 100644 --- a/src/plugins/remotelinux/remotelinuxapplicationrunner.cpp +++ b/src/plugins/remotelinux/remotelinuxapplicationrunner.cpp @@ -422,7 +422,7 @@ void AbstractRemoteLinuxApplicationRunner::handleInitialCleanupDone(bool success } d->state = GatheringPorts; - d->portsGatherer.start(d->connection, d->devConfig); + d->portsGatherer.start(d->devConfig); } void AbstractRemoteLinuxApplicationRunner::handleInitializationsDone(bool success) |