forked from qt-creator/qt-creator
		
	Removed TemplateParameters.
This commit is contained in:
		@@ -1852,11 +1852,14 @@ void CppCodeCompletion::complete(const TextEditor::CompletionItem &item, QChar t
 | 
			
		||||
                if (! function->hasReturnType() && (function->identity() && !function->identity()->isDestructorNameId())) {
 | 
			
		||||
                    // Don't insert any magic, since the user might have just wanted to select the class
 | 
			
		||||
 | 
			
		||||
#warning robe: "don't insert matching ( when the selected symbol is a template"
 | 
			
		||||
#if 0
 | 
			
		||||
                } else if (function->templateParameterCount() != 0 && typedChar != QLatin1Char('(')) {
 | 
			
		||||
                    // If there are no arguments, then we need the template specification
 | 
			
		||||
                    if (function->argumentCount() == 0) {
 | 
			
		||||
                        extraChars += QLatin1Char('<');
 | 
			
		||||
                    }
 | 
			
		||||
#endif
 | 
			
		||||
                } else if (! function->isAmbiguous()) {
 | 
			
		||||
                    if (completionSettings().m_spaceAfterFunctionName)
 | 
			
		||||
                        extraChars += QLatin1Char(' ');
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user