Commit 775825ae authored by Daniel Teske's avatar Daniel Teske

Android: Fix displayNameForId

So that a name actually shows up in the "Add" drop down in the deploy
settings.

Change-Id: Ie39a1ddb5462d1b88be10d7c0ba7d19811d7970c
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 378d6682
......@@ -129,7 +129,7 @@ QList<Core::Id> AndroidDeployConfigurationFactory::availableCreationIds(Target *
QString AndroidDeployConfigurationFactory::displayNameForId(Core::Id id) const
{
if (id.name().startsWith(ANDROID_DC_PREFIX))
if (id == Core::Id(ANDROID_DEPLOYCONFIGURATION_ID))
return tr("Deploy on Android");
return QString();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment