forked from qt-creator/qt-creator
ProjectExplorer: Use setter for IDevice::type
Second step towards streamlining the IDevice::ctor/create lines of functions. Change-Id: I8b0f2270a9f6545ff9419ef8cf44b456c2233223 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -82,8 +82,8 @@ QnxDevice::QnxDevice()
|
||||
init();
|
||||
}
|
||||
|
||||
QnxDevice::QnxDevice(const QString &name, Core::Id type, Origin origin, Core::Id id)
|
||||
: RemoteLinux::LinuxDevice(name, type, origin, id)
|
||||
QnxDevice::QnxDevice(const QString &name, Origin origin, Core::Id id)
|
||||
: RemoteLinux::LinuxDevice(name, origin, id)
|
||||
{
|
||||
init();
|
||||
}
|
||||
@@ -103,9 +103,9 @@ QnxDevice::Ptr QnxDevice::create()
|
||||
return Ptr(new QnxDevice);
|
||||
}
|
||||
|
||||
QnxDevice::Ptr QnxDevice::create(const QString &name, Core::Id type, Origin origin, Core::Id id)
|
||||
QnxDevice::Ptr QnxDevice::create(const QString &name, Origin origin, Core::Id id)
|
||||
{
|
||||
return Ptr(new QnxDevice(name, type, origin, id));
|
||||
return Ptr(new QnxDevice(name, origin, id));
|
||||
}
|
||||
|
||||
QString QnxDevice::displayType() const
|
||||
|
||||
Reference in New Issue
Block a user