diff options
-rw-r--r-- | doc/scripting-api/component.qdoc | 4 | ||||
-rw-r--r-- | src/libs/installer/component.cpp | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/scripting-api/component.qdoc b/doc/scripting-api/component.qdoc index ffa2988a3..c253767b3 100644 --- a/doc/scripting-api/component.qdoc +++ b/doc/scripting-api/component.qdoc @@ -354,6 +354,8 @@ \qmlmethod void component::addDependency(string newDependency) Adds a new component \a newDependency to the list of dependencies. + Alternatively, multiple components can be specified by separating each with + a comma. \sa dependencies */ @@ -362,6 +364,8 @@ \qmlmethod void component::addAutoDependOn(string newDependOn) 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 autoDependencies */ 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 |