Merge pull request #10934 from Chocobo1/delete

Rely on Qt ownership to delete class members
This commit is contained in:
Mike Tzou
2019-07-17 12:02:30 +08:00
committed by GitHub
14 changed files with 275 additions and 306 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;