QmlJSEditor: Fix running QML checks for CMake

Amends 99a4184761.

Fixes: QTCREATORBUG-31867
Change-Id: I6fa5f4982cfd48ba542a7acfffbba2e874802e52
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2024-10-21 15:38:31 +02:00
parent 95b88f786c
commit c00ce6341b

View File

@@ -126,7 +126,7 @@ void QmlTaskManager::updateSemanticMessagesNow()
// abort any update that's going on already, and remove old codemodel warnings
m_messageCollector.cancel();
removeAllTasks(true);
buildSystem->buildTarget(Constants::QMLLINT_BUILD_TARGET);
buildSystem->buildNamedTarget(Constants::QMLLINT_BUILD_TARGET);
return;
}