forked from qt-creator/qt-creator
		
	Use Prototype instead of Function.
This commit is contained in:
		
				
					committed by
					
						 Oswald Buddenhagen
						Oswald Buddenhagen
					
				
			
			
				
	
			
			
			
						parent
						
							9aa991d636
						
					
				
				
					commit
					4ff3ee2ff0
				
			| @@ -68,7 +68,7 @@ QString AbstractEditorSupport::functionAt(const CppModelManagerInterface *modelM | ||||
|         return QString(); | ||||
|     if (const CPlusPlus::Symbol *symbol = document->lastVisibleSymbolAt(line, column)) | ||||
|         if (const CPlusPlus::Scope *scope = symbol->scope()) | ||||
|             if (const CPlusPlus::Scope *functionScope = scope->enclosingFunctionScope()) | ||||
|             if (const CPlusPlus::Scope *functionScope = scope->enclosingPrototypeScope()) | ||||
|                 if (const CPlusPlus::Symbol *function = functionScope->owner()) { | ||||
|                     const CPlusPlus::Overview o; | ||||
|                     QString rc = o.prettyName(function->name()); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user