summaryrefslogtreecommitdiff
path: root/src/plugins/android/androidrunfactories.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/android/androidrunfactories.cpp')
-rw-r--r--src/plugins/android/androidrunfactories.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/android/androidrunfactories.cpp b/src/plugins/android/androidrunfactories.cpp
index 59ff232cee..e38e6b8bbe 100644
--- a/src/plugins/android/androidrunfactories.cpp
+++ b/src/plugins/android/androidrunfactories.cpp
@@ -97,9 +97,7 @@ QList<Core::Id> AndroidRunConfigurationFactory::availableCreationIds(Target *par
<< ApplicationTemplate
<< LibraryTemplate);
const Core::Id base = Core::Id(ANDROID_RC_ID_PREFIX);
- foreach (QmakeProFileNode *node, nodes)
- ids << base.withSuffix(node->path());
- return ids;
+ return QmakeProject::idsForNodes(base, nodes);
}
QString AndroidRunConfigurationFactory::displayNameForId(const Core::Id id) const