From 2b53c4767b7f6378fa1bb855339f207f6a13c39e Mon Sep 17 00:00:00 2001 From: Arttu Tarkiainen Date: Tue, 10 Aug 2021 16:33:56 +0300 Subject: Doc: Minor function summary fix for component JS object The "component::addDependency" and "component::addAutoDependOn" methods support also specifying a comma separated list of components in the same string parameter. Change-Id: I7f4d289d80d4efd485a0cfa64c6dda93bfc2f59a Reviewed-by: Leena Miettinen Reviewed-by: Katja Marttila --- src/libs/installer/component.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libs/installer') diff --git a/src/libs/installer/component.cpp b/src/libs/installer/component.cpp index 5f897303d..3b8894b03 100644 --- a/src/libs/installer/component.cpp +++ b/src/libs/installer/component.cpp @@ -1299,6 +1299,8 @@ bool Component::validatePage() /*! Adds the component specified by \a newDependency to the list of dependencies. + Alternatively, multiple components can be specified by separating each with + a comma. \sa {component::addDependency}{component.addDependency} \sa dependencies @@ -1320,6 +1322,8 @@ QStringList Component::dependencies() const /*! Adds the component specified by \a newDependOn to the automatic depend-on list. + Alternatively, multiple components can be specified by separating each with + a comma. \sa {component::addAutoDependOn}{component.addAutoDependOn} \sa autoDependencies -- cgit v1.2.3