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:
@@ -81,7 +81,7 @@ static void stopRunningRunControl(RunControl *runControl)
|
||||
|
||||
RunConfiguration *runConfig = runControl->runConfiguration();
|
||||
Target *target = runConfig->target();
|
||||
Core::Id devId = DeviceKitInformation::deviceId(target->kit());
|
||||
Core::Id devId = DeviceKitAspect::deviceId(target->kit());
|
||||
|
||||
// The device can only run an application at a time, if an app is running stop it.
|
||||
if (activeRunControls.contains(devId)) {
|
||||
@@ -101,7 +101,7 @@ IosRunner::IosRunner(RunControl *runControl)
|
||||
auto runConfig = qobject_cast<IosRunConfiguration *>(runControl->runConfiguration());
|
||||
m_bundleDir = runConfig->bundleDirectory().toString();
|
||||
m_arguments = runConfig->aspect<ArgumentsAspect>()->arguments(runConfig->macroExpander());
|
||||
m_device = DeviceKitInformation::device(runConfig->target()->kit());
|
||||
m_device = DeviceKitAspect::device(runConfig->target()->kit());
|
||||
m_deviceType = runConfig->deviceType();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user