Setup parent pointer

Rely on Qt to do the delete, since the parent ownership is setup
correctly.
This commit is contained in:
Chocobo1
2017-03-08 13:01:59 +08:00
parent a16c557137
commit 86e82c71e5
5 changed files with 7 additions and 11 deletions

View File

@@ -62,8 +62,8 @@ namespace {
}
}
PropListDelegate::PropListDelegate(PropertiesWidget *properties, QObject *parent)
: QItemDelegate(parent)
PropListDelegate::PropListDelegate(PropertiesWidget *properties)
: QItemDelegate(properties)
, m_properties(properties)
{
}