forked from qt-creator/qt-creator
Qt Quick Designer: Adapt to naming change in IContext
Since context help is no longer based solely on an ID. Change-Id: I34bb81b70632df9fb75bdcf28b022418d4aa764b Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -152,12 +152,12 @@ WidgetInfo TextEditorView::widgetInfo()
|
||||
return createWidgetInfo(m_widget, nullptr, "TextEditor", WidgetInfo::CentralPane, 0, tr("Text Editor"), DesignerWidgetFlags::IgnoreErrors);
|
||||
}
|
||||
|
||||
void TextEditorView::contextHelpId(const Core::IContext::HelpCallback &callback) const
|
||||
void TextEditorView::contextHelp(const Core::IContext::HelpCallback &callback) const
|
||||
{
|
||||
AbstractView::contextHelpId(callback);
|
||||
AbstractView::contextHelp(callback);
|
||||
}
|
||||
|
||||
void TextEditorView::qmlJSEditorHelpId(const Core::IContext::HelpCallback &callback) const
|
||||
void TextEditorView::qmlJSEditorContextHelp(const Core::IContext::HelpCallback &callback) const
|
||||
{
|
||||
if (m_widget->textEditor())
|
||||
m_widget->textEditor()->contextHelp(callback);
|
||||
|
||||
Reference in New Issue
Block a user