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
......@@ -245,8 +245,8 @@ QString QmlHoverHandler::prettyPrint(const QmlJS::Interpreter::Value *value, Qml
QString typeId = interp->typeId(value);
if (typeId.isEmpty() || typeId == QLatin1String("undefined"))
typeId = QLatin1String("Unknown");
if (typeId == QLatin1String("undefined"))
typeId.clear();
return typeId;
}
Supports Markdown
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