forked from qt-creator/qt-creator
Remove unnecessary removeContextObject calls
They are removed on deletion now. Change-Id: I08461ea4938e24ab450df013a0f8f820032381da Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -68,9 +68,6 @@ BindingEditorWidget::BindingEditorWidget()
|
||||
BindingEditorWidget::~BindingEditorWidget()
|
||||
{
|
||||
unregisterAutoCompletion();
|
||||
|
||||
Core::ICore::removeContextObject(m_context);
|
||||
delete m_context;
|
||||
}
|
||||
|
||||
void BindingEditorWidget::unregisterAutoCompletion()
|
||||
|
||||
Reference in New Issue
Block a user