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:
@@ -554,10 +554,10 @@ void DesignModeWidget::showInternalTextEditor()
|
||||
m_centralTabWidget->switchTo(viewManager().widget("TextEditor"));
|
||||
}
|
||||
|
||||
void DesignModeWidget::contextHelpId(const Core::IContext::HelpCallback &callback) const
|
||||
void DesignModeWidget::contextHelp(const Core::IContext::HelpCallback &callback) const
|
||||
{
|
||||
if (currentDesignDocument())
|
||||
currentDesignDocument()->contextHelpId(callback);
|
||||
currentDesignDocument()->contextHelp(callback);
|
||||
else
|
||||
callback(QString());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user