forked from qt-creator/qt-creator
ProjectExplorer: Introduce a ProjectConfiguration::kit() function
For convenience, and use it in some places. Change-Id: I8f7cb502b37b2fbf4cf2d17cac9c6299558332dc Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -98,7 +98,7 @@ IosRunner::IosRunner(RunControl *runControl)
|
||||
stopRunningRunControl(runControl);
|
||||
auto runConfig = qobject_cast<IosRunConfiguration *>(runControl->runConfiguration());
|
||||
m_bundleDir = runConfig->bundleDirectory().toString();
|
||||
m_device = DeviceKitAspect::device(runControl->target()->kit());
|
||||
m_device = DeviceKitAspect::device(runControl->kit());
|
||||
m_deviceType = runConfig->deviceType();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user