summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@theqtcompany.com>2015-05-04 09:41:48 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2015-05-04 09:41:49 +0000
commit05d1c5d7b2679d45ac88441a2d23dee50be5ef6c (patch)
tree71aba0eb6814ecb0740cb98bc6457d50b2041a27 /tools
parent88b5604fa32ef7b1829cb037a076e6d07d9e9eb0 (diff)
parentbe481e3af7c302f70e1d83406de40203218deef2 (diff)
Merge "Merge remote-tracking branch 'origin/2.0'"
Diffstat (limited to 'tools')
-rw-r--r--tools/common/repositorygen.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/common/repositorygen.cpp b/tools/common/repositorygen.cpp
index 19f4003a4..b7a6aa151 100644
--- a/tools/common/repositorygen.cpp
+++ b/tools/common/repositorygen.cpp
@@ -312,12 +312,6 @@ void QInstallerTools::copyMetaData(const QString &_targetDir, const QString &met
QString::fromLatin1("Unknown error.") : value.toString()));
}
- // add RequiresAdminRights tag to xml if addElevatedOperation is used somewhere
- if (scriptContent.contains(QLatin1String("addElevatedOperation"))) {
- QDomElement element = doc.createElement(QLatin1String("RequiresAdminRights"));
- element.appendChild(doc.createTextNode(QLatin1String("true")));
- }
-
const QString toLocation(QString::fromLatin1("%1/%2/%3").arg(targetDir, info.name, script));
copyWithException(scriptFile.fileName(), toLocation, QInstaller::scScript);
}