forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user