forked from qt-creator/qt-creator
ProjectExplorer: Rename KitInformation to KitAspect
The name "KitInformation" does not properly convey the fact that it represents a certain *aspect* of a kit. The same goes for "KitConfigWidget", which in addition was inconsistent with "KitInformation". We now use "KitAspect" and "KitAspectWidget". Change-Id: I9804ee4cedc4d61fad533ea1dd4e4720e67fde97 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -452,7 +452,7 @@ void Target::setOverlayIcon(const QIcon &icon)
|
||||
|
||||
QString Target::overlayIconToolTip()
|
||||
{
|
||||
IDevice::ConstPtr current = DeviceKitInformation::device(kit());
|
||||
IDevice::ConstPtr current = DeviceKitAspect::device(kit());
|
||||
return current.isNull() ? QString() : formatDeviceInfo(current->deviceInformation());
|
||||
}
|
||||
|
||||
@@ -682,7 +682,7 @@ QVariant Target::additionalData(Core::Id id) const
|
||||
|
||||
void Target::updateDeviceState()
|
||||
{
|
||||
IDevice::ConstPtr current = DeviceKitInformation::device(kit());
|
||||
IDevice::ConstPtr current = DeviceKitAspect::device(kit());
|
||||
|
||||
QIcon overlay;
|
||||
static const QIcon disconnected = Icons::DEVICE_DISCONNECTED_INDICATOR_OVERLAY.icon();
|
||||
|
||||
Reference in New Issue
Block a user