Rely on Qt ownership to delete class members

This commit is contained in:
Chocobo1
2019-07-14 11:46:10 +08:00
parent 7071c5bda0
commit e74b984a0a
9 changed files with 9 additions and 42 deletions

View File

@@ -107,11 +107,6 @@ PropTabBar::PropTabBar(QWidget *parent)
btn->setFocusPolicy(Qt::NoFocus);
}
PropTabBar::~PropTabBar()
{
delete m_btnGroup;
}
int PropTabBar::currentIndex() const
{
return m_currentIndex;