Commit 566f6048 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Delay naming of profiles



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

Change-Id: Ifc35afc7626d062c337a2eb794dd5a2ec11610e5
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent 810aab63
......@@ -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)
......
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