forked from qt-creator/qt-creator
Remove ToolBarWidgetFactoryInterface from WidgetInfo
Since it is sometimes created with new but never used, it leaked memory. Change-Id: I5adfb71f9c773be37c1cefc619236bad9f34aad1 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -70,7 +70,7 @@ bool CurveEditorView::hasWidget() const
|
||||
WidgetInfo CurveEditorView::widgetInfo()
|
||||
{
|
||||
return createWidgetInfo(
|
||||
m_editor, nullptr, "CurveEditorId", WidgetInfo::BottomPane, 0, tr("CurveEditor"));
|
||||
m_editor, "CurveEditorId", WidgetInfo::BottomPane, 0, tr("CurveEditor"));
|
||||
}
|
||||
|
||||
void CurveEditorView::modelAttached(Model *model)
|
||||
|
||||
Reference in New Issue
Block a user