From 3418f09da7c4724c69b45a99d377d01fa3929642 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Tue, 3 Nov 2020 18:13:37 +0100 Subject: [PATCH] CppEditor: Do not omit template types ... when rewriting an argument of a refactored function. Fixes: QTCREATORBUG-24892 Change-Id: Iddc6d1787155885d0a8150b1afdb4eaecd6f3a6b Reviewed-by: Christian Stenger --- src/plugins/cppeditor/cppfunctiondecldeflink.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/cppeditor/cppfunctiondecldeflink.cpp b/src/plugins/cppeditor/cppfunctiondecldeflink.cpp index c07b0686427..7481778927a 100644 --- a/src/plugins/cppeditor/cppfunctiondecldeflink.cpp +++ b/src/plugins/cppeditor/cppfunctiondecldeflink.cpp @@ -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 targetParameterDecls;