diff options
author | kh1 <qt-info@nokia.com> | 2011-04-13 11:30:05 +0200 |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2011-04-13 11:30:05 +0200 |
commit | b5dfa00cea79c100a24fdbfc84edb393d90bca41 (patch) | |
tree | 6b81a42362f0e1ff6b425144c2b28480d90836a9 /installerbuilder/libinstaller/qinstallercomponent.cpp | |
parent | b63f2c3221ce2469aab93ed7ab7ca8ab9f3c47cd (diff) |
Remove default arguments.
Diffstat (limited to 'installerbuilder/libinstaller/qinstallercomponent.cpp')
-rw-r--r-- | installerbuilder/libinstaller/qinstallercomponent.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/installerbuilder/libinstaller/qinstallercomponent.cpp b/installerbuilder/libinstaller/qinstallercomponent.cpp index 77a2745c1..486d59cda 100644 --- a/installerbuilder/libinstaller/qinstallercomponent.cpp +++ b/installerbuilder/libinstaller/qinstallercomponent.cpp @@ -339,16 +339,16 @@ void Component::removeComponent(Component *component) */ QList<Component*> Component::childComponents(bool recursive, RunMode runMode) const { + QList<Component*> result; if (runMode == UpdaterMode) - return QList<Component*>(); + return result; if (!recursive) return d->m_allComponents; - QList<Component*> result; foreach (Component *component, d->m_allComponents) { result.append(component); - result += component->childComponents(true); + result += component->childComponents(true, runMode); } return result; } |