summaryrefslogtreecommitdiffstats
path: root/src/libs/installer
diff options
context:
space:
mode:
authorArttu Tarkiainen <arttu.tarkiainen@qt.io>2021-08-10 16:33:56 +0300
committerArttu Tarkiainen <arttu.tarkiainen@qt.io>2021-08-16 10:11:13 +0300
commit2b53c4767b7f6378fa1bb855339f207f6a13c39e (patch)
treed4c48c891144bb076d80f9c5b3e2a0ef5120c2ef /src/libs/installer
parenta8b4b4da9db8c4bee2494157cecb2a474d92d2e3 (diff)
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 <riitta-leena.miettinen@qt.io> Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'src/libs/installer')
-rw-r--r--src/libs/installer/component.cpp4
1 files changed, 4 insertions, 0 deletions
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