forked from qt-creator/qt-creator
ProjectExplorer: Introduce a setter for IDevice origin and id
They are not completely orthogonal, so use one function for now. This is the step towards streamlining the IDevice::ctor/create lines of functions. Change-Id: I1fe9144c45c7da0c9dcbda3bf424e976e0519cd6 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -46,8 +46,8 @@ namespace Android {
|
||||
namespace Internal {
|
||||
|
||||
AndroidDevice::AndroidDevice()
|
||||
: IDevice(IDevice::AutoDetected, Core::Id(Constants::ANDROID_DEVICE_ID))
|
||||
{
|
||||
setupId(IDevice::AutoDetected, Constants::ANDROID_DEVICE_ID);
|
||||
setType(Constants::ANDROID_DEVICE_TYPE);
|
||||
setDisplayName(QCoreApplication::translate("Android::Internal::AndroidDevice", "Run on Android"));
|
||||
setMachineType(IDevice::Hardware);
|
||||
|
Reference in New Issue
Block a user