forked from qt-creator/qt-creator
		
	Code model: Update on changes from the versioning system.
Add state logic to CppCodeModelManagerInterface, making it aware whether an indexer is running, protect the update methods from another invocation while running. Add changed signals to IVersionControl and VCSManager and wire them to the update methods. Add a menu action for manually updating. Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com> Reviewed-by: con <qtc-committer@nokia.com>
This commit is contained in:
		@@ -177,6 +177,8 @@ void GitCommand::run()
 | 
			
		||||
        emit errorText(error);
 | 
			
		||||
 | 
			
		||||
    emit finished(ok, m_cookie);
 | 
			
		||||
    if (ok)
 | 
			
		||||
        emit success();
 | 
			
		||||
    // As it is used asynchronously, we need to delete ourselves
 | 
			
		||||
    this->deleteLater();
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user