mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Rely on Qt ownership to delete class members
This commit is contained in:
@@ -107,11 +107,6 @@ PropTabBar::PropTabBar(QWidget *parent)
|
||||
btn->setFocusPolicy(Qt::NoFocus);
|
||||
}
|
||||
|
||||
PropTabBar::~PropTabBar()
|
||||
{
|
||||
delete m_btnGroup;
|
||||
}
|
||||
|
||||
int PropTabBar::currentIndex() const
|
||||
{
|
||||
return m_currentIndex;
|
||||
|
||||
Reference in New Issue
Block a user