forked from qt-creator/qt-creator
Fix build with Qt 6
Amends 1e26327472
Change-Id: Ibbd1a71e46f6b4ea6feb81983a2bc9a49661cc3d
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -568,7 +568,7 @@ void SemanticHighlighter::rerun(const QmlJSTools::SemanticInfo &semanticInfo)
|
|||||||
auto future = Utils::runAsync(QThread::LowestPriority, &SemanticHighlighter::run,
|
auto future = Utils::runAsync(QThread::LowestPriority, &SemanticHighlighter::run,
|
||||||
this, semanticInfo);
|
this, semanticInfo);
|
||||||
m_watcher.setFuture(future);
|
m_watcher.setFuture(future);
|
||||||
m_futureSynchronizer.addFuture(future);
|
m_futureSynchronizer.addFuture(QFuture<void>(future));
|
||||||
}
|
}
|
||||||
|
|
||||||
void SemanticHighlighter::cancel()
|
void SemanticHighlighter::cancel()
|
||||||
|
Reference in New Issue
Block a user