forked from qt-creator/qt-creator
ProjectExplorer: Paddle back on IDevice aspect exposure
Make the aspects private, but provide accessors to value and defaultValue as needed. This allows setters to be kept protected when wanted. Change-Id: I26f93f62d4ac2e7346f95543c38d8ac9156348c2 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -84,7 +84,7 @@ void DeviceDetector::handleDeviceEvent(QdbDeviceTracker::DeviceEventType eventTy
|
||||
const QString name = Tr::tr("Boot to Qt device %1").arg(serial);
|
||||
QdbDevice::Ptr device = QdbDevice::create();
|
||||
device->setupId(IDevice::AutoDetected, deviceId);
|
||||
device->displayName.setValue(name);
|
||||
device->setDisplayName(name);
|
||||
device->setType(Qdb::Constants::QdbLinuxOsType);
|
||||
device->setMachineType(IDevice::Hardware);
|
||||
device->setExtraData(ProjectExplorer::Constants::SUPPORTS_RSYNC, true);
|
||||
|
||||
Reference in New Issue
Block a user