diff options
author | kh1 <karsten.heimrich@digia.com> | 2013-02-18 16:43:09 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@digia.com> | 2013-02-19 15:43:04 +0100 |
commit | 8092e354949370be204071258661aefad6f2b58e (patch) | |
tree | 3ab35c6e7f791c48f9cafe7a5c2c5efcc114d0c1 /src/libs/installer/component_p.cpp | |
parent | 5cd196bfc78098d02100e48811b5d5d696058d96 (diff) |
Remove RunMode enum, it's useless and clutters the API.
Change-Id: I4323a0d66bda362ccee71a19352c37c9ac1b51e1
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Diffstat (limited to 'src/libs/installer/component_p.cpp')
-rw-r--r-- | src/libs/installer/component_p.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/component_p.cpp b/src/libs/installer/component_p.cpp index 162b62c54..93f79e025 100644 --- a/src/libs/installer/component_p.cpp +++ b/src/libs/installer/component_p.cpp @@ -219,7 +219,7 @@ int ComponentModelHelper::indexInParent() const { int index = 0; if (Component *parent = m_componentPrivate->m_parentComponent->parentComponent()) - index = parent->childComponents(false, AllMode).indexOf(m_componentPrivate->m_parentComponent); + index = parent->childComponents(false).indexOf(m_componentPrivate->m_parentComponent); return (index >= 0 ? index : 0); } |