forked from qt-creator/qt-creator
		
	Enable restoring the default names of project configuration items
* Enable support for this in all ProjectConfiguration items (Targets, projects, BCs, DCs, RCs, etc.). This is nicer than having custom code in individual configuraiton items. Reviewed-by: dt
This commit is contained in:
		@@ -133,7 +133,7 @@ void Project::addTarget(Target *t)
 | 
			
		||||
    foreach (const Target *target, m_targets)
 | 
			
		||||
        displayNames << target->displayName();
 | 
			
		||||
    targetDisplayName = makeUnique(targetDisplayName, displayNames);
 | 
			
		||||
    t->setDisplayName(targetDisplayName);
 | 
			
		||||
    t->setDefaultDisplayName(targetDisplayName);
 | 
			
		||||
 | 
			
		||||
    // add it
 | 
			
		||||
    m_targets.push_back(t);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user