Commit 92cab936 authored by Nikolai Kosjar's avatar Nikolai Kosjar Committed by hjk
Browse files

Clang: Fix compilation



/home/nik/dev/creator/creator-master/src/plugins/clangcodemodel/completionproposalsbuilder.cpp:94:64: error: no member named 'toHtmlEscaped' in 'QStringBuilder<QLatin1String, QString>'
        m_comment += (QLatin1String("<b>Brief:</b> ") + brief).toHtmlEscaped();
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^

Change-Id: I71ca654d4525c2a99645780b22e8f32e23a27c80
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 1d5091e4
......@@ -91,7 +91,7 @@ void CompletionProposalsBuilder::operator ()(const CXCompletionResult &cxResult)
#if defined(CINDEX_VERSION) && (CINDEX_VERSION > 5)
const QString brief = Internal::getQString(clang_getCompletionBriefComment(cxResult.CompletionString));
if (!brief.isEmpty())
m_comment += (QLatin1String("<b>Brief:</b> ") + brief).toHtmlEscaped();
m_comment += QString(QLatin1String("<b>Brief:</b> ") + brief).toHtmlEscaped();
#endif
if (m_resultAvailability == CodeCompletionResult::Deprecated) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment