forked from qt-creator/qt-creator
BuildStep: Some cleanup
Remove unused BuildStep API. Remove outdated docs. Cleanup includes. Don't repeat custom cancel messages from build/deploy steps, as in case of cancel action the follow-up message: "Canceled build/deployment." always appears anyway. Change-Id: I50b31e0cc688ee66d76a3a1dbe58eb72702112ad Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -38,7 +38,6 @@ using namespace Internal;
|
||||
AbstractRemoteLinuxDeployStep::AbstractRemoteLinuxDeployStep(BuildStepList *bsl, Id id)
|
||||
: BuildStep(bsl, id), d(new AbstractRemoteLinuxDeployStepPrivate)
|
||||
{
|
||||
setCancelMessage(Tr::tr("User requests deployment to stop; cleaning up."));
|
||||
}
|
||||
|
||||
AbstractRemoteLinuxDeployStep::~AbstractRemoteLinuxDeployStep()
|
||||
@@ -99,8 +98,6 @@ void AbstractRemoteLinuxDeployStep::toMap(QVariantMap &map) const
|
||||
bool AbstractRemoteLinuxDeployStep::init()
|
||||
{
|
||||
QTC_ASSERT(d->internalInit, return false);
|
||||
if (!BuildStep::init())
|
||||
return false;
|
||||
const auto canDeploy = d->internalInit();
|
||||
if (!canDeploy) {
|
||||
emit addOutput(Tr::tr("Cannot deploy: %1").arg(canDeploy.error()),
|
||||
|
||||
Reference in New Issue
Block a user