RemoteLinux: Fix run config clone method.

Not used anywhere currently, but should still be correct, of course.

Change-Id: I163bd94b87af8b0e71caa2cfdafd1551a4de86a4
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Christian Kandeler
2012-06-27 16:18:37 +02:00
parent c1a89d2c61
commit 3c404484de

View File

@@ -90,8 +90,7 @@ bool RemoteLinuxRunConfigurationFactory::canClone(Target *parent, RunConfigurati
{
const RemoteLinuxRunConfiguration * const rlrc
= qobject_cast<RemoteLinuxRunConfiguration *>(source);
const QString idStr = source->id().toString() + QLatin1Char('.') + rlrc->proFilePath();
return rlrc && canCreate(parent, Core::Id(idStr));
return rlrc && canCreate(parent, source->id());
}
QList<Core::Id> RemoteLinuxRunConfigurationFactory::availableCreationIds(Target *parent) const