diff options
author | Christian Kandeler <[email protected]> | 2011-08-17 16:02:00 +0200 |
---|---|---|
committer | Christian Kandeler <[email protected]> | 2011-08-17 17:34:44 +0200 |
commit | 7b90c8b0c533cdb8085420bf1e753518584df310 (patch) | |
tree | d2b4e4636437d4beed9f1c4627985f12285fa3b1 /src/plugins/remotelinux/remotelinuxapplicationrunner.cpp | |
parent | ee4aa00bbb40f8230bc7a427dd2c90c29f07941a (diff) |
RemoteLinux: Let application runners set the device configuration.
Could conceivably make sense during doDeviceSetup().
Change-Id: I6a30d44561dbe75566e48c6db9604ff72075b8dd
Reviewed-on: http://codereview.qt.nokia.com/3114
Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'src/plugins/remotelinux/remotelinuxapplicationrunner.cpp')
-rw-r--r-- | src/plugins/remotelinux/remotelinuxapplicationrunner.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/remotelinux/remotelinuxapplicationrunner.cpp b/src/plugins/remotelinux/remotelinuxapplicationrunner.cpp index e9754b8d875..bb8e4350dc7 100644 --- a/src/plugins/remotelinux/remotelinuxapplicationrunner.cpp +++ b/src/plugins/remotelinux/remotelinuxapplicationrunner.cpp @@ -73,7 +73,7 @@ public: } RemoteLinuxUsedPortsGatherer portsGatherer; - const LinuxDeviceConfiguration::ConstPtr devConfig; + LinuxDeviceConfiguration::ConstPtr devConfig; const QString remoteExecutable; const QString appArguments; const QString commandPrefix; @@ -366,6 +366,11 @@ bool AbstractRemoteLinuxApplicationRunner::canRun(QString &whyNot) const return true; } +void AbstractRemoteLinuxApplicationRunner::setDeviceConfiguration(const LinuxDeviceConfiguration::ConstPtr &deviceConfig) +{ + m_d->devConfig = deviceConfig; +} + void AbstractRemoteLinuxApplicationRunner::handleDeviceSetupDone(bool success) { QTC_ASSERT(m_d->state == SettingUpDevice, return); |