summaryrefslogtreecommitdiff
path: root/src/plugins/qbsprojectmanager/qbscleanstep.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@digia.com>2013-04-12 17:26:29 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2013-04-15 14:49:04 +0200
commit618f737302d58fc501aafc9f8c95b46f1dcc20fb (patch)
tree5678a5b5687b8df8cdb90616c943a0d5cf3c042e /src/plugins/qbsprojectmanager/qbscleanstep.cpp
parente4873318a28d0dd02b9b61da7d211d37e6ed0585 (diff)
downloadqt-creator-618f737302d58fc501aafc9f8c95b46f1dcc20fb.tar.gz
Qbs: Clean up clean step ui
Change-Id: Ic4ba17239d8910f5141eceed3f50d713ac3906cd Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'src/plugins/qbsprojectmanager/qbscleanstep.cpp')
-rw-r--r--src/plugins/qbsprojectmanager/qbscleanstep.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/qbsprojectmanager/qbscleanstep.cpp b/src/plugins/qbsprojectmanager/qbscleanstep.cpp
index b10a4f8487..54560bf36e 100644
--- a/src/plugins/qbsprojectmanager/qbscleanstep.cpp
+++ b/src/plugins/qbsprojectmanager/qbscleanstep.cpp
@@ -264,7 +264,6 @@ QbsCleanStepConfigWidget::QbsCleanStepConfigWidget(QbsCleanStep *step) :
this, SLOT(changeCleanAll(bool)));
connect(m_ui->dryRunCheckBox, SIGNAL(toggled(bool)), this, SLOT(changeDryRun(bool)));
connect(m_ui->keepGoingCheckBox, SIGNAL(toggled(bool)), this, SLOT(changeKeepGoing(bool)));
- connect(m_ui->jobSpinBox, SIGNAL(valueChanged(int)), this, SLOT(changeJobCount(int)));
updateState();
}
@@ -284,17 +283,12 @@ void QbsCleanStepConfigWidget::updateState()
m_ui->cleanAllCheckBox->setChecked(m_step->cleanAll());
m_ui->dryRunCheckBox->setChecked(m_step->dryRun());
m_ui->keepGoingCheckBox->setChecked(m_step->keepGoing());
- m_ui->jobSpinBox->setValue(m_step->maxJobs());
-
- qbs::BuildOptions defaultOptions;
QString command = QLatin1String("qbs clean ");
if (m_step->dryRun())
command += QLatin1String("--dry-run ");
if (m_step->keepGoing())
command += QLatin1String("--keep-going ");
- if (m_step->maxJobs() != defaultOptions.maxJobCount)
- command += QString::fromLatin1("--jobs %1 ").arg(m_step->maxJobs());
if (m_step->cleanAll())
command += QLatin1String(" --all-artifacts");