CppEditor: Do not omit template types

... when rewriting an argument of a refactored function.

Fixes: QTCREATORBUG-24892
Change-Id: Iddc6d1787155885d0a8150b1afdb4eaecd6f3a6b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2020-11-03 18:13:37 +01:00
parent 34c97ac868
commit 3418f09da7

View File

@@ -640,6 +640,7 @@ ChangeSet FunctionDeclDefLink::changes(const Snapshot &snapshot, int targetOffse
Control *control = sourceContext.bindings()->control().data();
Overview overview = overviewFromCurrentProjectStyle;
overview.showReturnTypes = true;
overview.showTemplateParameters = true;
// make a easy to access list of the target parameter declarations
QVarLengthArray<ParameterDeclarationAST *, 10> targetParameterDecls;