TabBox: Fix automatically hiding initialization

It was initialized to different values in the header and
in the constructor. Let's remove one of them to avoid
the confusion

AMENDS: 9d8d7e28a1
BUG: 469412
FIXED-IN: 6
This commit is contained in:
Ismael Asensio 2023-05-06 16:21:52 +02:00
parent 39d269008f
commit e0ba7b4086

View file

@ -27,7 +27,6 @@ SwitcherItem::SwitcherItem(QObject *parent)
, m_visible(false)
, m_allDesktops(false)
, m_currentIndex(0)
, m_automaticallyHide(false)
{
m_selectedIndexConnection = connect(tabBox, &TabBoxHandler::selectedIndexChanged, this, [this] {
if (isVisible()) {