summaryrefslogtreecommitdiff
path: root/src/plugins/ios/iosdeploystep.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-01-10 15:31:44 +0100
committerhjk <hjk@qt.io>2019-01-18 09:11:37 +0000
commitf007bc7593a4079ea7ce15d98df08c0cf8a1d5c9 (patch)
tree04624fcd72d19cde11f42b9b706b035e1b5e65f3 /src/plugins/ios/iosdeploystep.cpp
parentca24877c93981221ba6c316d6a0b1fb87c3d8ca4 (diff)
downloadqt-creator-f007bc7593a4079ea7ce15d98df08c0cf8a1d5c9.tar.gz
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>
Diffstat (limited to 'src/plugins/ios/iosdeploystep.cpp')
-rw-r--r--src/plugins/ios/iosdeploystep.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/ios/iosdeploystep.cpp b/src/plugins/ios/iosdeploystep.cpp
index 1fff4f4a26..747ab74122 100644
--- a/src/plugins/ios/iosdeploystep.cpp
+++ b/src/plugins/ios/iosdeploystep.cpp
@@ -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 *>(