Commit 69cf6b53 authored by Nikolai Kosjar's avatar Nikolai Kosjar

Clang: Fix displaying template parameters

...in the function call completion tooltip.

We did not escape the HTML.

Change-Id: I5c27e5c29c1b29117201e933ac172c98792cef2b
Task-number: QTCREATORBUG-15286
Reviewed-by: default avatarMarco Bubke <marco.bubke@theqtcompany.com>
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@theqtcompany.com>
parent 7196c0a4
......@@ -290,7 +290,7 @@ bool FunctionHintProposalWidget::updateAndCheck(const QString &prefix)
void FunctionHintProposalWidget::updateContent()
{
d->m_hintLabel->setText(d->m_model->text(d->m_currentHint));
d->m_hintLabel->setText(d->m_model->text(d->m_currentHint).toHtmlEscaped());
d->m_numberLabel->setText(tr("%1 of %2").arg(d->m_currentHint + 1).arg(d->m_totalHints));
updatePosition();
}
......
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