summaryrefslogtreecommitdiff
path: root/src/plugins/remotelinux/abstractembeddedlinuxtarget.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@nokia.com>2012-03-19 17:35:44 +0100
committerChristian Kandeler <christian.kandeler@nokia.com>2012-03-29 18:47:59 +0200
commit5ef51887dbfa55eb435cb811c97a8169bb6c4319 (patch)
treeeb015e9eb06dd3bcc154f8ea38b1394146756ee5 /src/plugins/remotelinux/abstractembeddedlinuxtarget.cpp
parent63244127a88010abe98858be8d42c93f1755b537 (diff)
downloadqt-creator-5ef51887dbfa55eb435cb811c97a8169bb6c4319.tar.gz
RemoteLinux: Make mapping between targets and devices more flexible.
Until now, the mapping was based exclusively on the device type. The new approach is more flexible and less static, allowing e.g. the set of supported devices to depend on the current build settings. Change-Id: Iec92bdf9fee647477b166f7624c2364a821e5cbd Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
Diffstat (limited to 'src/plugins/remotelinux/abstractembeddedlinuxtarget.cpp')
-rw-r--r--src/plugins/remotelinux/abstractembeddedlinuxtarget.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/plugins/remotelinux/abstractembeddedlinuxtarget.cpp b/src/plugins/remotelinux/abstractembeddedlinuxtarget.cpp
index 0ecc012378..78f7eb775b 100644
--- a/src/plugins/remotelinux/abstractembeddedlinuxtarget.cpp
+++ b/src/plugins/remotelinux/abstractembeddedlinuxtarget.cpp
@@ -41,14 +41,11 @@ using namespace Qt4ProjectManager;
namespace RemoteLinux {
-AbstractEmbeddedLinuxTarget::AbstractEmbeddedLinuxTarget(Qt4Project *parent, const QString &id,
- const QString &supportedDeviceType) :
+AbstractEmbeddedLinuxTarget::AbstractEmbeddedLinuxTarget(Qt4Project *parent, const QString &id) :
Qt4BaseTarget(parent, id),
m_buildConfigurationFactory(new Qt4BuildConfigurationFactory(this)),
- m_supportedDeviceType(supportedDeviceType),
m_deploymentInfo(new DeploymentInfo(this)),
- m_deviceConfigModel(new Internal::TypeSpecificDeviceConfigurationListModel(supportedDeviceType,
- this))
+ m_deviceConfigModel(new Internal::TypeSpecificDeviceConfigurationListModel(this))
{
}