qmljs: Use Utils::onFinished instead of manual QFutureWatcher

Change-Id: Iad6b958cb87ea5d4edaa270c27fac5ffdc334bba
Fixes: QTCREATORBUG-20243
Task-number: QTCREATORBUG-18533
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Philip Van Hoof
2020-04-24 16:08:25 +02:00
parent ba171172e4
commit a6f69d6142
2 changed files with 84 additions and 65 deletions

View File

@@ -106,6 +106,13 @@ private:
private:
Utils::FileSystemWatcher *pluginWatcher();
void prepareLibraryInfo(LibraryInfo &libInfo,
const QString &libraryPath,
const QStringList &deps,
const QStringList &errors,
const QStringList &warnings,
const QList<ModuleApiInfo> &moduleApis,
QList<LanguageUtils::FakeMetaObject::ConstPtr> &objects);
ModelManagerInterface *m_modelManager;
Utils::FileSystemWatcher *m_pluginWatcher;