forked from qt-creator/qt-creator
Give the values of BuildStep::OutputFormat better names
The old ones did not convey their meaning very well. In particular, NormalOutput and MessageOutput were easily confused. Change-Id: Ia0a8c1b1c366ab3f5c59f751b37b8b1f68f6831d Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -108,7 +108,7 @@ bool IosDeployStep::init(QList<const BuildStep *> &earlierSteps)
|
||||
m_deviceType = runConfig->deviceType();
|
||||
} else {
|
||||
emit addOutput(tr("Error: no device available, deploy failed."),
|
||||
BuildStep::ErrorMessageOutput);
|
||||
BuildStep::OutputFormat::ErrorMessage);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
@@ -210,7 +210,7 @@ void IosDeployStep::handleErrorMsg(IosToolHandler *handler, const QString &msg)
|
||||
TaskHub::addTask(Task::Warning,
|
||||
tr("The Info.plist might be incorrect."),
|
||||
ProjectExplorer::Constants::TASK_CATEGORY_DEPLOYMENT);
|
||||
emit addOutput(msg, BuildStep::ErrorMessageOutput);
|
||||
emit addOutput(msg, BuildStep::OutputFormat::ErrorMessage);
|
||||
}
|
||||
|
||||
BuildStepConfigWidget *IosDeployStep::createConfigWidget()
|
||||
|
||||
Reference in New Issue
Block a user