1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

[ComboTabBar] Fixed height of tabbar when there are no normal tabs.

This commit is contained in:
nowrep 2013-12-26 19:46:56 +01:00
parent 3d4da9e4ea
commit e9fccbfb75

View File

@ -477,7 +477,7 @@ void ComboTabBar::setMouseTracking(bool enable)
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
// height than it actually is.