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:
@@ -228,9 +228,9 @@ void Edit3DWidget::onCreateAction()
|
||||
void Edit3DWidget::contextHelp(const Core::IContext::HelpCallback &callback) const
|
||||
{
|
||||
if (m_view)
|
||||
m_view->contextHelp(callback);
|
||||
|
||||
callback({});
|
||||
QmlDesignerPlugin::contextHelp(callback, m_view->contextHelpId());
|
||||
else
|
||||
callback({});
|
||||
}
|
||||
|
||||
void Edit3DWidget::showCanvas(bool show)
|
||||
|
||||
Reference in New Issue
Block a user