forked from qt-creator/qt-creator
Remove some useless IContext subclasses
They are only created at single places anyhow, so use the setters of IContext instead Change-Id: I00a089c9f1ea151c76cb6443e2a24c4a05437bbb Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -41,8 +41,9 @@
|
||||
namespace QmlDesigner {
|
||||
|
||||
BindingEditorWidget::BindingEditorWidget()
|
||||
: m_context(new BindingEditorContext(this))
|
||||
: m_context(new Core::IContext(this))
|
||||
{
|
||||
m_context->setWidget(this);
|
||||
Core::ICore::addContextObject(m_context);
|
||||
|
||||
const Core::Context context(BINDINGEDITOR_CONTEXT_ID);
|
||||
|
||||
Reference in New Issue
Block a user