forked from qt-creator/qt-creator
Tasks: Create a container class for category data
Reduce the number of arguments that need to be passed around. Change-Id: I9fbfdcdf7b20f8f26e35f435bf8d65ba483e4114 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -205,8 +205,8 @@ void QmlJSEditorPlugin::extensionsInitialized()
|
||||
FileIconProvider::registerIconOverlayForMimeType(ProjectExplorer::Constants::FILEOVERLAY_UI,
|
||||
"application/x-qt.ui+qml");
|
||||
|
||||
TaskHub::addCategory(Constants::TASK_CATEGORY_QML, Tr::tr("QML"));
|
||||
TaskHub::addCategory(Constants::TASK_CATEGORY_QML_ANALYSIS, Tr::tr("QML Analysis"), false);
|
||||
TaskHub::addCategory({Constants::TASK_CATEGORY_QML, Tr::tr("QML")});
|
||||
TaskHub::addCategory({Constants::TASK_CATEGORY_QML_ANALYSIS, Tr::tr("QML Analysis"), false});
|
||||
QmllsSettingsManager::instance()->setupAutoupdate();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user