summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/scripting-api/packagemanagercore.qdoc8
-rw-r--r--src/libs/installer/packagemanagercore.cpp4
2 files changed, 11 insertions, 1 deletions
diff --git a/doc/scripting-api/packagemanagercore.qdoc b/doc/scripting-api/packagemanagercore.qdoc
index ac6cad2ce..1cff11c84 100644
--- a/doc/scripting-api/packagemanagercore.qdoc
+++ b/doc/scripting-api/packagemanagercore.qdoc
@@ -324,6 +324,14 @@
*/
/*!
+ \qmlmethod void installer::setAutoAcceptLicenses()
+
+ Automatically accepts all license agreements required to install the selected components. This
+ can be used to skip the command line license acceptance query. The names of the accepted
+ individual licenses are still printed to a console.
+*/
+
+/*!
\qmlmethod float installer::requiredDiskSpace()
Returns the additional estimated amount of disk space in bytes required after installation.
diff --git a/src/libs/installer/packagemanagercore.cpp b/src/libs/installer/packagemanagercore.cpp
index 6dbfd811b..d1a9c6351 100644
--- a/src/libs/installer/packagemanagercore.cpp
+++ b/src/libs/installer/packagemanagercore.cpp
@@ -614,7 +614,9 @@ void PackageManagerCore::acceptMessageBoxDefaultButton()
}
/*!
- Automatically accept all licenses required by components to install.
+ Automatically accepts all license agreements required to install the selected components.
+
+ \sa {installer::setAutoAcceptLicenses}{installer.setAutoAcceptLicenses}
*/
void PackageManagerCore::setAutoAcceptLicenses()
{