From 25c35da043318e52066425efd5bb36756fa20bf0 Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Thu, 26 Sep 2024 13:47:54 +0200 Subject: [PATCH] CMakePM: Proper capitalize CMakeProgressParser class CmakeProgressParser is the wrong choice. Change-Id: I528640a9ad81fb1f26aff2102467e25f7b4498aa Reviewed-by: Cristian Adam --- src/plugins/cmakeprojectmanager/cmakebuildstep.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp b/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp index 9d9b51f8f93..af7892e30c4 100644 --- a/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp +++ b/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp @@ -80,7 +80,7 @@ public: using ProjectParserTask = CustomTask; -class CmakeProgressParser : public Utils::OutputLineParser +class CMakeProgressParser : public Utils::OutputLineParser { Q_OBJECT @@ -331,8 +331,8 @@ bool CMakeBuildStep::init() void CMakeBuildStep::setupOutputFormatter(Utils::OutputFormatter *formatter) { CMakeOutputParser *cmakeOutputParser = new CMakeOutputParser; - CmakeProgressParser * const progressParser = new CmakeProgressParser; - connect(progressParser, &CmakeProgressParser::progress, this, [this](int percent) { + CMakeProgressParser * const progressParser = new CMakeProgressParser; + connect(progressParser, &CMakeProgressParser::progress, this, [this](int percent) { emit progress(percent, {}); }); formatter->addLineParser(progressParser);