Commit 3662e9d2 authored by Tobias Hunger's avatar Tobias Hunger

Qbs: Remove useless member variable

QbsBuildStep::m_showCompilerOutput is never changed, so remove it.

Change-Id: I9c23d693213e787b6f3155a51ee4803dcb83f910
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@digia.com>
parent 12c58444
......@@ -62,15 +62,14 @@ namespace Internal {
QbsBuildStep::QbsBuildStep(ProjectExplorer::BuildStepList *bsl) :
ProjectExplorer::BuildStep(bsl, Core::Id(Constants::QBS_BUILDSTEP_ID)),
m_job(0), m_showCompilerOutput(true), m_parser(0)
m_job(0), m_parser(0)
{
setDisplayName(tr("Qbs build"));
}
QbsBuildStep::QbsBuildStep(ProjectExplorer::BuildStepList *bsl, const QbsBuildStep *other) :
ProjectExplorer::BuildStep(bsl, Core::Id(Constants::QBS_BUILDSTEP_ID)),
m_qbsBuildOptions(other->m_qbsBuildOptions), m_job(0),
m_showCompilerOutput(other->m_showCompilerOutput), m_parser(0)
m_qbsBuildOptions(other->m_qbsBuildOptions), m_job(0), m_parser(0)
{ }
QbsBuildStep::~QbsBuildStep()
......@@ -262,7 +261,7 @@ void QbsBuildStep::handleProcessResultReport(const qbs::ProcessResult &result)
{
bool hasOutput = !result.stdOut.isEmpty() || !result.stdErr.isEmpty();
if (result.success && !hasOutput && !m_showCompilerOutput)
if (result.success && !hasOutput)
return;
m_parser->setWorkingDirectory(result.workingDirectory);
......
......@@ -100,7 +100,6 @@ private:
QFutureInterface<bool> *m_fi;
qbs::BuildJob *m_job;
int m_progressBase;
bool m_showCompilerOutput;
ProjectExplorer::IOutputParser *m_parser;
friend class QbsBuildStepConfigWidget;
......
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