forked from qt-creator/qt-creator
Add missing "emit"s
Change-Id: I88a7397c7689b1e72cdd0e52077f8097443963c0 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -671,8 +671,8 @@ void ClangTool::startTool(ClangTool::FileSelection fileSelection,
|
||||
m_runControl->setTarget(project->activeTarget());
|
||||
m_stopAction->disconnect();
|
||||
connect(m_stopAction, &QAction::triggered, m_runControl, [this] {
|
||||
m_runControl->appendMessage(tr("Clang-Tidy and Clazy tool stopped by user."),
|
||||
NormalMessageFormat);
|
||||
emit m_runControl->appendMessage(tr("Clang-Tidy and Clazy tool stopped by user."),
|
||||
NormalMessageFormat);
|
||||
m_runControl->initiateStop();
|
||||
setState(State::StoppedByUser);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user