forked from qt-creator/qt-creator
QmlJS: Allow lookups on const Contexts. Pass const Contexts where ok.
In preparation for caching Contexts. Reviewed-by: Erik Verbruggen
This commit is contained in:
@@ -251,7 +251,7 @@ void HoverHandler::operateTooltip(TextEditor::ITextEditor *editor, const QPoint
|
||||
}
|
||||
|
||||
QString HoverHandler::prettyPrint(const QmlJS::Interpreter::Value *value,
|
||||
QmlJS::Interpreter::Context *context)
|
||||
const QmlJS::Interpreter::Context *context)
|
||||
{
|
||||
if (! value)
|
||||
return QString();
|
||||
|
||||
Reference in New Issue
Block a user