forked from qt-creator/qt-creator
Fix that build device was always set to Local Host
Copy and paste error from DeviceKitAspect. The build device has nothing
todo with the target device, so it doesn't need to be compatible with
the target device type.
Amends ec5e060a07
Fixes: QTCREATORBUG-27242
Change-Id: Iab9ae4c9adc98a177d15de705bc07406419f85e1
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1244,7 +1244,7 @@ void BuildDeviceKitAspect::setup(Kit *k)
|
||||
{
|
||||
QTC_ASSERT(DeviceManager::instance()->isLoaded(), return );
|
||||
IDevice::ConstPtr dev = BuildDeviceKitAspect::device(k);
|
||||
if (!dev.isNull() && dev->isCompatibleWith(k))
|
||||
if (!dev.isNull())
|
||||
return;
|
||||
|
||||
dev = defaultDevice();
|
||||
|
Reference in New Issue
Block a user