summaryrefslogtreecommitdiff
path: root/src/plugins/clangcodemodel
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@digia.com>2014-08-29 15:14:24 +0200
committerhjk <hjk121@nokiamail.com>2014-08-29 15:20:03 +0200
commit92cab936b9f9dba3e6464b4ac676c66a8f61534c (patch)
tree71961c356c15d335b79cc920bcc834186d777173 /src/plugins/clangcodemodel
parent1d5091e48f6df341dbd4436843c25afe25cbf4ce (diff)
downloadqt-creator-92cab936b9f9dba3e6464b4ac676c66a8f61534c.tar.gz
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: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/clangcodemodel')
-rw-r--r--src/plugins/clangcodemodel/completionproposalsbuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/clangcodemodel/completionproposalsbuilder.cpp b/src/plugins/clangcodemodel/completionproposalsbuilder.cpp
index 021e1b1c1a..37229ba103 100644
--- a/src/plugins/clangcodemodel/completionproposalsbuilder.cpp
+++ b/src/plugins/clangcodemodel/completionproposalsbuilder.cpp
@@ -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) {