1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

ComboTabBar: Draw tab as only one in tabbar in tabPixmap

This commit is contained in:
David Rosca 2018-01-07 16:33:25 +01:00
parent 1e4ba02a62
commit 7e8b2a103b

View File

@ -1018,6 +1018,7 @@ QPixmap TabBarHelper::tabPixmap(int index) const
initStyleOption(&tab, index);
tab.state &= ~QStyle::State_MouseOver;
tab.position = QStyleOptionTab::OnlyOneTab;
tab.leftButtonSize = QSize();
tab.rightButtonSize = QSize();