Commit 14970ea6 authored by Tobias Hunger's avatar Tobias Hunger

Qbs: String fixes

Change-Id: Ie1546afe92964b21d7ccb433f1841f3a81ec9c4c
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@digia.com>
parent 69e68b92
......@@ -64,7 +64,7 @@ QbsBuildStep::QbsBuildStep(ProjectExplorer::BuildStepList *bsl) :
ProjectExplorer::BuildStep(bsl, Core::Id(Constants::QBS_BUILDSTEP_ID)),
m_job(0), m_parser(0)
{
setDisplayName(tr("Qbs build"));
setDisplayName(tr("Qbs Build"));
}
QbsBuildStep::QbsBuildStep(ProjectExplorer::BuildStepList *bsl, const QbsBuildStep *other) :
......@@ -379,9 +379,9 @@ void QbsBuildStepConfigWidget::updateState()
QString command = QLatin1String("qbs ");
if (m_step->dryRun())
command += QLatin1String("--dryRun ");
command += QLatin1String("--dry-run ");
if (m_step->keepGoing())
command += QLatin1String("--keepGoing ");
command += QLatin1String("--keep-going ");
if (m_step->maxJobs() != defaultOptions.maxJobCount)
command += QString::fromLatin1("--jobs %1 ").arg(m_step->maxJobs());
command += QString::fromLatin1("build profile:%1 %2").arg(m_step->profile(), buildVariant);
......@@ -437,7 +437,7 @@ QList<Core::Id> QbsBuildStepFactory::availableCreationIds(ProjectExplorer::Build
QString QbsBuildStepFactory::displayNameForId(const Core::Id id) const
{
if (id == Core::Id(Constants::QBS_BUILDSTEP_ID))
return tr("Qbs");
return tr("Qbs Build");
return QString();
}
......
......@@ -60,7 +60,7 @@ QbsCleanStep::QbsCleanStep(ProjectExplorer::BuildStepList *bsl) :
ProjectExplorer::BuildStep(bsl, Core::Id(Constants::QBS_CLEANSTEP_ID)),
m_job(0), m_showCompilerOutput(true), m_parser(0)
{
setDisplayName(tr("Qbs clean"));
setDisplayName(tr("Qbs Clean"));
}
QbsCleanStep::QbsCleanStep(ProjectExplorer::BuildStepList *bsl, const QbsCleanStep *other) :
......@@ -290,9 +290,9 @@ void QbsCleanStepConfigWidget::updateState()
QString command = QLatin1String("qbs clean ");
if (m_step->dryRun())
command += QLatin1String("--dryRun ");
command += QLatin1String("--dry-run ");
if (m_step->keepGoing())
command += QLatin1String("--keepGoing ");
command += QLatin1String("--keep-going ");
if (m_step->maxJobs() != defaultOptions.maxJobCount)
command += QString::fromLatin1("--jobs %1 ").arg(m_step->maxJobs());
if (m_step->cleanAll())
......@@ -344,7 +344,7 @@ QList<Core::Id> QbsCleanStepFactory::availableCreationIds(ProjectExplorer::Build
QString QbsCleanStepFactory::displayNameForId(const Core::Id id) const
{
if (id == Core::Id(Constants::QBS_CLEANSTEP_ID))
return tr("Qbs");
return tr("Qbs Clean");
return QString();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment