forked from qt-creator/qt-creator
		
	CMake: Fix progress reporting on makestep
Change-Id: I0588949283f45ca46b0f52875342605659ddea89 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
		@@ -494,3 +494,15 @@ QString MakeStepFactory::displayNameForId(const Core::Id id) const
 | 
			
		||||
        return tr("Make", "Display name for CMakeProjectManager::MakeStep id.");
 | 
			
		||||
    return QString();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void MakeStep::processStarted()
 | 
			
		||||
{
 | 
			
		||||
    futureInterface()->setProgressRange(0, 100);
 | 
			
		||||
    AbstractProcessStep::processStarted();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void MakeStep::processFinished(int exitCode, QProcess::ExitStatus status)
 | 
			
		||||
{
 | 
			
		||||
    processFinished(exitCode, status);
 | 
			
		||||
    futureInterface()->setProgressValue(100);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user