forked from qt-creator/qt-creator
QmlJS: Change yet another call of QtConcurrent::run
Change-Id: I417c4dbdf8216e8372578775efe97a0510756520 Reviewed-by: Marco Benelli <marco.benelli@theqtcompany.com> Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -348,9 +348,9 @@ QFuture<void> ModelManagerInterface::refreshSourceFiles(const QStringList &sourc
|
||||
|
||||
void ModelManagerInterface::fileChangedOnDisk(const QString &path)
|
||||
{
|
||||
QtConcurrent::run(&ModelManagerInterface::parse,
|
||||
workingCopyInternal(), QStringList() << path,
|
||||
this, Dialect(Dialect::AnyLanguage), true);
|
||||
Utils::runAsync<void>(&ModelManagerInterface::parse,
|
||||
workingCopyInternal(), QStringList() << path,
|
||||
this, Dialect(Dialect::AnyLanguage), true);
|
||||
}
|
||||
|
||||
void ModelManagerInterface::removeFiles(const QStringList &files)
|
||||
|
||||
Reference in New Issue
Block a user