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:
@@ -237,10 +237,10 @@ void CMakeBuildStep::run(QFutureInterface<bool> &fi)
|
||||
|
||||
bool mustDelay = false;
|
||||
if (bc->persistCMakeState()) {
|
||||
emit addOutput(tr("Persisting CMake state..."), BuildStep::MessageOutput);
|
||||
emit addOutput(tr("Persisting CMake state..."), BuildStep::OutputFormat::NormalMessage);
|
||||
mustDelay = true;
|
||||
} else if (bc->updateCMakeStateBeforeBuild()) {
|
||||
emit addOutput(tr("Running CMake in preparation to build..."), BuildStep::MessageOutput);
|
||||
emit addOutput(tr("Running CMake in preparation to build..."), BuildStep::OutputFormat::NormalMessage);
|
||||
mustDelay = true;
|
||||
} else {
|
||||
mustDelay = false;
|
||||
|
||||
Reference in New Issue
Block a user