forked from qt-creator/qt-creator
Use Utils::FutureSynchronizer instead of QFutureSynchronizer
Change-Id: Iecfa676f58e5ca82be7c9c94233dcc8d3654c2d7 Reviewed-by: Eike Ziller <eike.ziller@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,
|
||||
this, semanticInfo);
|
||||
m_watcher.setFuture(future);
|
||||
m_futureSynchronizer.addFuture(QFuture<void>(future));
|
||||
m_futureSynchronizer.addFuture(future);
|
||||
}
|
||||
|
||||
void SemanticHighlighter::cancel()
|
||||
|
||||
Reference in New Issue
Block a user