diff options
Diffstat (limited to 'src/plugins/projectexplorer/kit.cpp')
-rw-r--r-- | src/plugins/projectexplorer/kit.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/plugins/projectexplorer/kit.cpp b/src/plugins/projectexplorer/kit.cpp index 27467c58b7..515fd6caaf 100644 --- a/src/plugins/projectexplorer/kit.cpp +++ b/src/plugins/projectexplorer/kit.cpp @@ -377,15 +377,6 @@ QIcon Kit::icon() const return d->m_cachedIcon; } - const IDevice::ConstPtr kitDevice = DeviceKitInformation::device(this); - if (!kitDevice.isNull()) { - const QIcon deviceIcon = kitDevice->deviceIcon(); - if (!deviceIcon.isNull()) { - d->m_cachedIcon = deviceIcon; - return d->m_cachedIcon; - } - } - const Core::Id deviceType = DeviceTypeKitInformation::deviceTypeId(this); const QIcon deviceTypeIcon = iconForDeviceType(deviceType); if (!deviceTypeIcon.isNull()) { |