CMakePM: Proper capitalize CMakeProgressParser class

CmakeProgressParser is the wrong choice.

Change-Id: I528640a9ad81fb1f26aff2102467e25f7b4498aa
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Cristian Adam
2024-09-26 13:47:54 +02:00
parent 1ebd3c1750
commit 25c35da043

View File

@@ -80,7 +80,7 @@ public:
using ProjectParserTask = CustomTask<ProjectParserTaskAdapter>; using ProjectParserTask = CustomTask<ProjectParserTaskAdapter>;
class CmakeProgressParser : public Utils::OutputLineParser class CMakeProgressParser : public Utils::OutputLineParser
{ {
Q_OBJECT Q_OBJECT
@@ -331,8 +331,8 @@ bool CMakeBuildStep::init()
void CMakeBuildStep::setupOutputFormatter(Utils::OutputFormatter *formatter) void CMakeBuildStep::setupOutputFormatter(Utils::OutputFormatter *formatter)
{ {
CMakeOutputParser *cmakeOutputParser = new CMakeOutputParser; CMakeOutputParser *cmakeOutputParser = new CMakeOutputParser;
CmakeProgressParser * const progressParser = new CmakeProgressParser; CMakeProgressParser * const progressParser = new CMakeProgressParser;
connect(progressParser, &CmakeProgressParser::progress, this, [this](int percent) { connect(progressParser, &CMakeProgressParser::progress, this, [this](int percent) {
emit progress(percent, {}); emit progress(percent, {});
}); });
formatter->addLineParser(progressParser); formatter->addLineParser(progressParser);