forked from qt-creator/qt-creator
AndroidRunConfiguration: Take .pro file parsing into account
Disable the runconfiguration if the project could not be parsed. Change-Id: I979315b5e38fd1d8674da68289e021e014070c54 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -94,7 +94,7 @@ QList<Core::Id> AndroidRunConfigurationFactory::availableCreationIds(Target *par
|
||||
const Core::Id base = Core::Id(ANDROID_RC_ID_PREFIX);
|
||||
foreach (Qt4ProFileNode *node, nodes)
|
||||
if (node->projectType() == ApplicationTemplate || node->projectType() == LibraryTemplate)
|
||||
ids << base.withSuffix(node->targetInformation().target);
|
||||
ids << base.withSuffix(node->path());
|
||||
return ids;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user