Commit 03ec0b17 authored by Andreas Holzammer's avatar Andreas Holzammer Committed by Christian Kandeler

Allow adding of non auto detected devices

Change-Id: I1f01db9cdd63e706bba60584d2857ae1a5d85dcb
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@digia.com>
parent e72be772
......@@ -228,7 +228,6 @@ Utils::FileName DeviceManager::settingsFilePath(const QString &extension)
void DeviceManager::addDevice(const IDevice::Ptr &_device)
{
const IDevice::Ptr device = _device->clone();
QTC_ASSERT(this != instance() || device->isAutoDetected(), return);
QString name = device->displayName();
const int pos = d->indexForId(device->id());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment