diff options
author | Christian Kandeler <christian.kandeler@nokia.com> | 2012-04-25 09:54:31 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@nokia.com> | 2012-04-25 11:57:19 +0200 |
commit | 2994b88d903ee62011e00e85712136e2e212ade2 (patch) | |
tree | 55b53b0f072a0b00aa882a845d3e17af650da78c /src/plugins/remotelinux/typespecificdeviceconfigurationlistmodel.h | |
parent | df5dab63827dc01412e7ddbe44ef0bef83b695ca (diff) | |
download | qt-creator-2994b88d903ee62011e00e85712136e2e212ade2.tar.gz |
Device support: Use value semantics for Core::Id.
We had a mixed style until now (mostly using const refs). Use value
semantics everywhere for consistency and hope that the class never gets
heavier.
Change-Id: Ic9536f87b01a76252bd8643c8681b3dc9067a266
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/plugins/remotelinux/typespecificdeviceconfigurationlistmodel.h')
-rw-r--r-- | src/plugins/remotelinux/typespecificdeviceconfigurationlistmodel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/remotelinux/typespecificdeviceconfigurationlistmodel.h b/src/plugins/remotelinux/typespecificdeviceconfigurationlistmodel.h index 9e61862c3d..e240bcd07f 100644 --- a/src/plugins/remotelinux/typespecificdeviceconfigurationlistmodel.h +++ b/src/plugins/remotelinux/typespecificdeviceconfigurationlistmodel.h @@ -54,8 +54,8 @@ public: QSharedPointer<const LinuxDeviceConfiguration> deviceAt(int idx) const; QSharedPointer<const LinuxDeviceConfiguration> defaultDeviceConfig() const; - QSharedPointer<const LinuxDeviceConfiguration> find(const Core::Id &id) const; - int indexForInternalId(const Core::Id &id) const; + QSharedPointer<const LinuxDeviceConfiguration> find(Core::Id id) const; + int indexForId(Core::Id id) const; private: AbstractEmbeddedLinuxTarget * target() const; |