mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
[ComboTabBar] Fixed height of tabbar when there are no normal tabs.
This commit is contained in:
parent
3d4da9e4ea
commit
e9fccbfb75
@ -477,7 +477,7 @@ void ComboTabBar::setMouseTracking(bool enable)
|
|||||||
|
|
||||||
void ComboTabBar::setUpLayout()
|
void ComboTabBar::setUpLayout()
|
||||||
{
|
{
|
||||||
int height = m_mainTabBar->height();
|
int height = qMax(m_mainTabBar->height(), m_pinnedTabBar->height());
|
||||||
|
|
||||||
// Workaround for Oxygen theme. For some reason, m_mainTabBar->height() returns bigger
|
// Workaround for Oxygen theme. For some reason, m_mainTabBar->height() returns bigger
|
||||||
// height than it actually is.
|
// height than it actually is.
|
||||||
|
Loading…
Reference in New Issue
Block a user