forked from qt-creator/qt-creator
		
	Fix targetsetuppage's shadowbuild dirs
* Fix displayed shadow build location
 * Fix shadow build location used by newly set up shadow builds
Task-number: QTCREATORBUG-1599
Reviewed-by: dt
(cherry picked from commit 1d8e176067)
			
			
This commit is contained in:
		@@ -780,8 +780,13 @@ bool Qt4Project::wasEvaluateCanceled()
 | 
			
		||||
 | 
			
		||||
QString Qt4Project::defaultTopLevelBuildDirectory() const
 | 
			
		||||
{
 | 
			
		||||
    QFileInfo info(file()->fileName());
 | 
			
		||||
    return QDir(projectDirectory() + QLatin1String("/../") + info.baseName() + QLatin1String("-build")).absolutePath();
 | 
			
		||||
    return defaultTopLevelBuildDirectory(file()->fileName());
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QString Qt4Project::defaultTopLevelBuildDirectory(const QString &profilePath)
 | 
			
		||||
{
 | 
			
		||||
    QFileInfo info(profilePath);
 | 
			
		||||
    return QDir(projectDirectory(profilePath) + QLatin1String("/../") + info.baseName() + QLatin1String("-build")).absolutePath();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void Qt4Project::asyncUpdate()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user