TextEditor: remove Function from the declaration format UI text

Task-number: QTCREATORBUG-26156
Change-Id: I2ca0f8c6d6445a78b9bd5f366c51237073991fd6
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
David Schulz
2021-09-02 10:28:29 +02:00
parent 253c4e55b6
commit a3196eedb7

View File

@@ -178,8 +178,8 @@ FormatDescriptions TextEditorSettingsPrivate::initialFormats()
Format declarationFormat; Format declarationFormat;
declarationFormat.setBold(true); declarationFormat.setBold(true);
formatDescr.emplace_back(C_DECLARATION, formatDescr.emplace_back(C_DECLARATION,
tr("Function Declaration"), tr("Declaration"),
tr("Style adjustments to (function) declarations."), tr("Style adjustments to declarations."),
declarationFormat, declarationFormat,
FormatDescription::ShowAllControls); FormatDescription::ShowAllControls);
formatDescr.emplace_back(C_FUNCTION_DEFINITION, formatDescr.emplace_back(C_FUNCTION_DEFINITION,