forked from qt-creator/qt-creator
CppTools/Editor: Use Utils::runAsync
Change-Id: Ifcc2a34e3478eb84f95221b79e39f7a670e6b2e0 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
@@ -200,8 +200,7 @@ void SemanticInfoUpdater::updateDetached(const SemanticInfo::Source source)
|
||||
return;
|
||||
}
|
||||
|
||||
d->m_future = QtConcurrent::run<SemanticInfoUpdaterPrivate, void, const SemanticInfo::Source>
|
||||
(&SemanticInfoUpdaterPrivate::update_helper, d.data(), source);
|
||||
d->m_future = Utils::runAsync(&SemanticInfoUpdaterPrivate::update_helper, d.data(), source);
|
||||
}
|
||||
|
||||
SemanticInfo SemanticInfoUpdater::semanticInfo() const
|
||||
|
||||
Reference in New Issue
Block a user