Commit 3c404484 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

RemoteLinux: Fix run config clone method.



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

Change-Id: I163bd94b87af8b0e71caa2cfdafd1551a4de86a4
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent c1a89d2c
......@@ -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
......
Supports Markdown
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