forked from qt-creator/qt-creator
QmlDesigner: break dependency to Core::IContext
Move the dependency from the abstract view into the plugin class. The abstract view is now only returning the id. Change-Id: I4f508c907bcdc8f717817fd40ef9c933e5fe2211 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -127,11 +127,6 @@ WidgetInfo TextEditorView::widgetInfo()
|
||||
return createWidgetInfo(m_widget, "TextEditor", WidgetInfo::CentralPane, 0, tr("Code"), DesignerWidgetFlags::IgnoreErrors);
|
||||
}
|
||||
|
||||
void TextEditorView::contextHelp(const Core::IContext::HelpCallback &callback) const
|
||||
{
|
||||
AbstractView::contextHelp(callback);
|
||||
}
|
||||
|
||||
void TextEditorView::qmlJSEditorContextHelp(const Core::IContext::HelpCallback &callback) const
|
||||
{
|
||||
if (m_widget->textEditor())
|
||||
|
||||
Reference in New Issue
Block a user