QmlDesigner: Avoid use of global object pool

Plus some code cosmetics.

Change-Id: I6fde62da5a99e750131d20336d35565280ac7bef
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
hjk
2018-02-06 16:51:28 +01:00
parent 487aad1ed5
commit e30c872e61
4 changed files with 25 additions and 35 deletions

View File

@@ -134,9 +134,8 @@ QList<QToolButton *> DesignerSideBarItem::createToolBarWidgets()
}
// ---------- DesignModeWidget
DesignModeWidget::DesignModeWidget(QWidget *parent)
: QWidget(parent)
, m_toolBar(new Core::EditorToolBar(this))
DesignModeWidget::DesignModeWidget()
: m_toolBar(new Core::EditorToolBar(this))
, m_crumbleBar(new CrumbleBar(this))
{
}