Delay naming of profiles

We have more information and can come up with a better name at this point.

Change-Id: Ifc35afc7626d062c337a2eb794dd5a2ec11610e5
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Tobias Hunger
2012-08-08 14:40:11 +02:00
parent 810aab630a
commit 566f604860

View File

@@ -203,11 +203,11 @@ ProjectExplorer::Profile *TargetSetupPage::createTemporaryProfile(QtSupport::Bas
const Utils::FileName &parsedSpec)
{
ProjectExplorer::Profile *p = new ProjectExplorer::Profile;
p->setDisplayName(version->displayName());
QtSupport::QtProfileInformation::setQtVersion(p, version);
ProjectExplorer::ToolChainProfileInformation::setToolChain(p, version->preferredToolChain(parsedSpec));
QmakeProfileInformation::setMkspec(p, parsedSpec);
p->setDisplayName(version->displayName());
p->setValue(PROFILE_IS_TEMPORARY, true);
p->setValue(TEMPORARY_OF_PROJECTS, QStringList() << m_proFilePath);
if (temporaryVersion)