forked from qt-creator/qt-creator
Core/Utils: Migrate further to Utils::Id
The coreplugin/id.h header is kept for downstream for now.
Change-Id: I8c44590f7b988b3770ecdc177c40783e12353e66
(cherry picked from commit 430a33dcd9)
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -105,13 +105,13 @@ QmlJSToolsPluginPrivate::QmlJSToolsPluginPrivate()
|
||||
|
||||
// Watch task progress
|
||||
connect(ProgressManager::instance(), &ProgressManager::taskStarted, this,
|
||||
[this](Core::Id type) {
|
||||
[this](Utils::Id type) {
|
||||
if (type == QmlJS::Constants::TASK_INDEX)
|
||||
resetCodeModelAction.setEnabled(false);
|
||||
});
|
||||
|
||||
connect(ProgressManager::instance(), &ProgressManager::allTasksFinished,
|
||||
[this](Core::Id type) {
|
||||
[this](Utils::Id type) {
|
||||
if (type == QmlJS::Constants::TASK_INDEX)
|
||||
resetCodeModelAction.setEnabled(true);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user