diff options
author | Jarek Kobus <jaroslaw.kobus@theqtcompany.com> | 2014-12-04 10:15:21 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@theqtcompany.com> | 2014-12-09 13:09:31 +0100 |
commit | 262797714693d7332174255c67e59da391e64a0e (patch) | |
tree | 7586841597ed7f04c7d4552e6a93694f7747ce6f /src | |
parent | 5f256c4c583c99779dcf4f5e8ce854d59ef77150 (diff) |
Don't remove "script" value from autoDependencies
Change-Id: I7f7c0df11f9a1a296d1514b7689daf317d9a45b7
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/libs/installer/component.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/libs/installer/component.cpp b/src/libs/installer/component.cpp index ec2b65a19..2d6836ed0 100644 --- a/src/libs/installer/component.cpp +++ b/src/libs/installer/component.cpp @@ -1168,13 +1168,7 @@ QStringList Component::dependencies() const QStringList Component::autoDependencies() const { - const QStringList autoDependencyStringList = - d->m_vars.value(scAutoDependOn).split(QInstaller::commaRegExp(), QString::SkipEmptyParts); - QStringList withoutScriptValuesList; - foreach (const QString &string, autoDependencyStringList) - if (string.compare(scScript, Qt::CaseInsensitive)) - withoutScriptValuesList.append(string); - return withoutScriptValuesList; + return d->m_vars.value(scAutoDependOn).split(QInstaller::commaRegExp(), QString::SkipEmptyParts); } /*! |