forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/3.3'
This commit is contained in:
@@ -420,10 +420,11 @@ void IosConfigurations::updateSimulators()
|
||||
DeviceManager *devManager = DeviceManager::instance();
|
||||
Core::Id devId = Constants::IOS_SIMULATOR_DEVICE_ID;
|
||||
IDevice::ConstPtr dev = devManager->find(devId);
|
||||
if (!dev.isNull())
|
||||
return;
|
||||
IosSimulator *newDev = new IosSimulator(devId);
|
||||
devManager->addDevice(IDevice::ConstPtr(newDev));
|
||||
if (dev.isNull()) {
|
||||
dev = IDevice::ConstPtr(new IosSimulator(devId));
|
||||
devManager->addDevice(dev);
|
||||
}
|
||||
IosSimulator::updateAvailableDevices();
|
||||
}
|
||||
|
||||
void IosConfigurations::setDeveloperPath(const FileName &devPath)
|
||||
|
||||
Reference in New Issue
Block a user