forked from qt-creator/qt-creator
QmlJS: Fix hover tooltips for properties.
Task-number: QTCREATORBUG-4094 Reviewed-by: Leandro Melo
This commit is contained in:
@@ -157,7 +157,7 @@ QString HtmlDocExtractor::getQmlPropertyDescription(const QString &html, const Q
|
|||||||
return QString();
|
return QString();
|
||||||
|
|
||||||
QString contents = html.mid(index + startMark.size());
|
QString contents = html.mid(index + startMark.size());
|
||||||
index = contents.indexOf(QLatin1String("<p>"));
|
index = contents.indexOf(QLatin1String("<div class=\"qmldoc\"><p>"));
|
||||||
if (index == -1)
|
if (index == -1)
|
||||||
return QString();
|
return QString();
|
||||||
contents = contents.mid(index);
|
contents = contents.mid(index);
|
||||||
|
|||||||
Reference in New Issue
Block a user