forked from qt-creator/qt-creator
ClangTools: Fix referencing wrong counter for summary text
Fixes: QTCREATORBUG-23585 Change-Id: Icb3002434a728bd0d157190b7079b35bb639d0df Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -454,7 +454,7 @@ void ClangToolRunWorker::finalize()
|
|||||||
{
|
{
|
||||||
const QString toolName = tool()->name();
|
const QString toolName = tool()->name();
|
||||||
if (m_filesNotAnalyzed.size() != 0) {
|
if (m_filesNotAnalyzed.size() != 0) {
|
||||||
appendMessage(tr("Error: Failed to analyze %1 files.").arg(m_filesAnalyzed.size()),
|
appendMessage(tr("Error: Failed to analyze %1 files.").arg(m_filesNotAnalyzed.size()),
|
||||||
ErrorMessageFormat);
|
ErrorMessageFormat);
|
||||||
Target *target = runControl()->target();
|
Target *target = runControl()->target();
|
||||||
if (target && target->activeBuildConfiguration() && !target->activeBuildConfiguration()->buildDirectory().exists()
|
if (target && target->activeBuildConfiguration() && !target->activeBuildConfiguration()->buildDirectory().exists()
|
||||||
|
Reference in New Issue
Block a user