forked from qt-creator/qt-creator
CppEditor: Prevent showing unwanted function template parameters
Task-number: QTCREATORBUG-28186 Change-Id: Ic52090e873b4defa68cf98e2a5d08f2f0604e714 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -6277,6 +6277,7 @@ QString definitionSignature(const CppQuickFixInterface *assist,
|
||||
oo.includeWhiteSpaceInOperatorName = operatorNameText.contains(QLatin1Char(' '));
|
||||
}
|
||||
const QString nameText = oo.prettyName(LookupContext::minimalName(func, cppCoN, control));
|
||||
oo.showTemplateParameters = false;
|
||||
const FullySpecifiedType tn = rewriteType(func->type(), &env, control);
|
||||
|
||||
return oo.prettyType(tn, nameText);
|
||||
|
||||
Reference in New Issue
Block a user