forked from qt-creator/qt-creator
Devices: Unify Port Gathering method
All devices that support it use the same mechanism to gather ports so this patch removes the individual implementations in favor of a single one in IDevice.cpp. This patch also removes: * canAutodetectPorts() as it was not used. * Port::parseFrom...Output as they are not used anymore. Change-Id: I8ecedec2d71e60985402387982c64311c5a651e6 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -388,11 +388,6 @@ IDeviceWidget *AndroidDevice::createWidget()
|
||||
return new AndroidDeviceWidget(sharedFromThis());
|
||||
}
|
||||
|
||||
bool AndroidDevice::canAutoDetectPorts() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
DeviceProcessSignalOperation::Ptr AndroidDevice::signalOperation() const
|
||||
{
|
||||
return DeviceProcessSignalOperation::Ptr(new AndroidSignalOperation());
|
||||
|
||||
Reference in New Issue
Block a user