forked from qt-creator/qt-creator
ClangStaticAnalyzer: Really cancel on user request
Currently when clicking the X icon next to Clang Static Analyzer progress bar, clang is no longer executed, but the mouse cursor remains busy, and trying to quit Qt Creator warns about running analyzer. Change-Id: I1dc8b92fdaf03cd25a2ad40d24d0f76907dd791c Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
990e2a83ca
commit
b5d6441562
@@ -585,7 +585,7 @@ void ClangStaticAnalyzerRunControl::handleFinished()
|
|||||||
void ClangStaticAnalyzerRunControl::onProgressCanceled()
|
void ClangStaticAnalyzerRunControl::onProgressCanceled()
|
||||||
{
|
{
|
||||||
m_progress.reportCanceled();
|
m_progress.reportCanceled();
|
||||||
m_progress.reportFinished();
|
stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ClangStaticAnalyzerRunControl::updateProgressValue()
|
void ClangStaticAnalyzerRunControl::updateProgressValue()
|
||||||
|
Reference in New Issue
Block a user