forked from qt-creator/qt-creator
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:
@@ -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))
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user