mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 15:27:54 +00:00
parent
7fffb6526c
commit
cf061b7d30
@ -102,9 +102,6 @@ PropTabBar::PropTabBar(QWidget *parent)
|
|||||||
// SIGNAL/SLOT
|
// SIGNAL/SLOT
|
||||||
connect(m_btnGroup, &QButtonGroup::idClicked
|
connect(m_btnGroup, &QButtonGroup::idClicked
|
||||||
, this, &PropTabBar::setCurrentIndex);
|
, this, &PropTabBar::setCurrentIndex);
|
||||||
// Disable buttons focus
|
|
||||||
for (QAbstractButton *btn : asConst(m_btnGroup->buttons()))
|
|
||||||
btn->setFocusPolicy(Qt::NoFocus);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int PropTabBar::currentIndex() const
|
int PropTabBar::currentIndex() const
|
||||||
|
Loading…
Reference in New Issue
Block a user