QmlJSEditor: Do not clear out unrelated issues

Yet another fallout of 1b57e95c14.

Fixes: QTCREATORBUG-31760
Change-Id: Ia08e14a04eead91021c48598c0b42865fbc944bd
Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
Christian Kandeler
2024-10-07 12:55:38 +02:00
parent 7294c5652e
commit 0242ab8991

View File

@@ -139,9 +139,6 @@ void QmlTaskManager::updateSemanticMessagesNow()
void QmlTaskManager::updateMessagesNow(bool updateSemantic) void QmlTaskManager::updateMessagesNow(bool updateSemantic)
{ {
// clear out the qmllint warnings when qmlls was disabled after being enabled
TaskHub::clearTasks(ProjectExplorer::Constants::TASK_CATEGORY_COMPILE);
// don't restart a small update if a big one is running // don't restart a small update if a big one is running
if (!updateSemantic && m_updatingSemantic) if (!updateSemantic && m_updatingSemantic)
return; return;