Skip to content
Snippets Groups Projects
Commit fc77c277 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Hide the tooltip when we can't guess the value of the expression under cursor.

parent b4ccdab4
No related branches found
No related tags found
No related merge requests found
...@@ -245,8 +245,8 @@ QString QmlHoverHandler::prettyPrint(const QmlJS::Interpreter::Value *value, Qml ...@@ -245,8 +245,8 @@ QString QmlHoverHandler::prettyPrint(const QmlJS::Interpreter::Value *value, Qml
QString typeId = interp->typeId(value); QString typeId = interp->typeId(value);
if (typeId.isEmpty() || typeId == QLatin1String("undefined")) if (typeId == QLatin1String("undefined"))
typeId = QLatin1String("Unknown"); typeId.clear();
return typeId; return typeId;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment