forked from qt-creator/qt-creator
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:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user