forked from qt-creator/qt-creator
Debugger: Remove widget argument from tooltip request
The only information ever used is whether it's c++ or not. Change-Id: I4ca00663856dd66cbdf58c468f175a8c9e41d6a5 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -973,12 +973,12 @@ void QmlEngine::requestModuleSymbols(const QString &moduleName)
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
bool QmlEngine::setToolTipExpression(TextEditor::TextEditorWidget *editorWidget,
|
||||
const DebuggerToolTipContext &ctx)
|
||||
bool QmlEngine::setToolTipExpression(const DebuggerToolTipContext &context)
|
||||
{
|
||||
// This is processed by QML inspector, which has dependencies to
|
||||
// the qml js editor. Makes life easier.
|
||||
emit tooltipRequested(ctx.mousePosition, editorWidget, ctx.position);
|
||||
// FIXME: Except that there isn't any attached.
|
||||
emit tooltipRequested(context);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user