forked from qt-creator/qt-creator
Fix const-ness of ClangCodeModel::Internal::CompletionChunksToTextConverter::inDesiredTextFormat(().
Change-Id: I622b65d7d8fd90d67863282fe85b867acf16b899 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
@@ -296,7 +296,7 @@ void CompletionChunksToTextConverter::addExtraVerticalSpaceBetweenBraces(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
QString CompletionChunksToTextConverter::inDesiredTextFormat(const Utf8String &text)
|
QString CompletionChunksToTextConverter::inDesiredTextFormat(const Utf8String &text) const
|
||||||
{
|
{
|
||||||
if (m_textFormat == TextFormat::Html)
|
if (m_textFormat == TextFormat::Html)
|
||||||
return text.toString().toHtmlEscaped();
|
return text.toString().toHtmlEscaped();
|
||||||
|
Reference in New Issue
Block a user