Commit 0aac8187 authored by hjk's avatar hjk

Maemo: Remove use of deprecated Core::Id(QString)

Change-Id: Iae3db1f7b80cbf3b53640a1af1e6fa98702857f9
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent aebf19ea
......@@ -110,9 +110,8 @@ bool MaemoRunConfigurationFactory::canClone(Target *parent,
return false;
const RemoteLinuxRunConfiguration * const rlrc
= qobject_cast<RemoteLinuxRunConfiguration *>(source);
QString idStr = QString::fromLatin1(source->id().name()) + QLatin1Char('.')
+ rlrc->projectFilePath();
return rlrc && canCreate(parent, Core::Id(idStr));
Core::Id id = source->id().withSuffix(QLatin1Char('.') + rlrc->projectFilePath());
return rlrc && canCreate(parent, id);
}
QList<Core::Id> MaemoRunConfigurationFactory::availableCreationIds(Target *parent) const
......@@ -122,7 +121,7 @@ QList<Core::Id> MaemoRunConfigurationFactory::availableCreationIds(Target *paren
return result;
QStringList proFiles = static_cast<Qt4Project *>(parent->project())->applicationProFilePathes(QLatin1String(MAEMO_RC_ID_PREFIX));
foreach (const QString &pf, proFiles)
result << Core::Id(pf);
result << Core::Id::fromString(pf);
return result;
}
......
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