forked from qt-creator/qt-creator
QmlDesigner: Remove superfluous deleteLater calls
All those QObjects are part of the parent child hierarchy and do not have to be deleted manually. This slicences two QCoreApplication::postEvent: Unexpected null receiver, because the graphics scene is now created lazily. Change-Id: Ibfe4aaed2173f591e90186b570f8c8bb9e708494 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -63,7 +63,6 @@ TextEditorView::TextEditorView(QObject *parent)
|
||||
|
||||
TextEditorView::~TextEditorView()
|
||||
{
|
||||
m_widget->deleteLater();
|
||||
}
|
||||
|
||||
void TextEditorView::modelAttached(Model *model)
|
||||
|
||||
Reference in New Issue
Block a user