forked from qt-creator/qt-creator
ProjectExplorer: Simplify BuildStep::init() signature
The extra parameter was always computed but used only in one place, and that use got removed lately. Change-Id: Ie10c0107ca70ee97ce03f83294992aab8d1a3ffe Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -77,9 +77,8 @@ void IosDeployStep::updateDisplayNames()
|
||||
setDisplayName(tr("Deploy to %1").arg(devName));
|
||||
}
|
||||
|
||||
bool IosDeployStep::init(QList<const BuildStep *> &earlierSteps)
|
||||
bool IosDeployStep::init()
|
||||
{
|
||||
Q_UNUSED(earlierSteps);
|
||||
QTC_ASSERT(m_transferStatus == NoTransfer, return false);
|
||||
m_device = DeviceKitInformation::device(target()->kit());
|
||||
auto runConfig = qobject_cast<const IosRunConfiguration *>(
|
||||
|
||||
Reference in New Issue
Block a user