From e9fccbfb756c3ab4c2371259287593c905b27670 Mon Sep 17 00:00:00 2001 From: nowrep Date: Thu, 26 Dec 2013 19:46:56 +0100 Subject: [PATCH] [ComboTabBar] Fixed height of tabbar when there are no normal tabs. --- src/lib/tools/combotabbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/tools/combotabbar.cpp b/src/lib/tools/combotabbar.cpp index 42f7f4d52..f8ad9e8e3 100644 --- a/src/lib/tools/combotabbar.cpp +++ b/src/lib/tools/combotabbar.cpp @@ -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.