forked from qt-creator/qt-creator
ProjectExplorer: Introduce a alias for QList<Tasks>
Change-Id: I91391ad22b420926b0f512cac23cfe009048b218 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -369,10 +369,10 @@ QbsBuildConfigurationFactory::QbsBuildConfigurationFactory()
|
||||
registerBuildConfiguration<QbsBuildConfiguration>(Constants::QBS_BC_ID);
|
||||
setSupportedProjectType(Constants::PROJECT_ID);
|
||||
setSupportedProjectMimeTypeName(Constants::MIME_TYPE);
|
||||
setIssueReporter([](Kit *k, const QString &projectPath, const QString &buildDir) -> QList<Task> {
|
||||
setIssueReporter([](Kit *k, const QString &projectPath, const QString &buildDir) -> Tasks {
|
||||
const QtSupport::BaseQtVersion * const version = QtSupport::QtKitAspect::qtVersion(k);
|
||||
return version ? version->reportIssues(projectPath, buildDir)
|
||||
: QList<ProjectExplorer::Task>();
|
||||
: Tasks();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ Core::Id QbsKitAspect::id()
|
||||
return "Qbs.KitInformation";
|
||||
}
|
||||
|
||||
QList<Task> QbsKitAspect::validate(const Kit *) const { return QList<Task>(); }
|
||||
Tasks QbsKitAspect::validate(const Kit *) const { return {}; }
|
||||
|
||||
KitAspect::ItemList QbsKitAspect::toUserOutput(const Kit *k) const
|
||||
{
|
||||
|
||||
@@ -44,7 +44,7 @@ public:
|
||||
private:
|
||||
static Core::Id id();
|
||||
|
||||
QList<ProjectExplorer::Task> validate(const ProjectExplorer::Kit *) const override;
|
||||
ProjectExplorer::Tasks validate(const ProjectExplorer::Kit *) const override;
|
||||
ItemList toUserOutput(const ProjectExplorer::Kit *) const override;
|
||||
ProjectExplorer::KitAspectWidget *createConfigWidget(ProjectExplorer::Kit *) const override;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user