forked from qt-creator/qt-creator
CppEditor: Fix "Add Definition" quickfix for function parameters
... whose type is a template. Fixes: QTCREATORBUG-25560 Change-Id: I1d626f9376e8802a87ca1a28099932ccbf744d47 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -462,6 +462,7 @@ void TypePrettyPrinter::visit(Function *type)
|
||||
argumentText.showReturnTypes = true;
|
||||
argumentText.showArgumentNames = false;
|
||||
argumentText.showFunctionSignatures = true;
|
||||
argumentText.showTemplateParameters = _overview->showTemplateParameters;
|
||||
|
||||
_text += QLatin1Char('(');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user