Use constructor initialization lists where possible.

This commit is contained in:
Felix Geyer
2012-07-19 13:57:55 +02:00
parent 4152e93bb7
commit 308d3ad84b
9 changed files with 31 additions and 38 deletions

View File

@@ -34,14 +34,13 @@ IconStruct::IconStruct()
EditWidgetIcons::EditWidgetIcons(QWidget* parent)
: QWidget(parent)
, m_ui(new Ui::EditWidgetIcons())
, m_ui(new Ui::EditWidgetIcons())
, m_defaultIconModel(new DefaultIconModel(this))
, m_customIconModel(new CustomIconModel(this))
{
m_ui->setupUi(this);
m_defaultIconModel = new DefaultIconModel(this);
m_ui->defaultIconsView->setModel(m_defaultIconModel);
m_customIconModel = new CustomIconModel(this);
m_ui->customIconsView->setModel(m_customIconModel);
connect(m_ui->defaultIconsView, SIGNAL(clicked(QModelIndex)),