From aa2f6664bf0abb5ad9dca596fe52e3edec461783 Mon Sep 17 00:00:00 2001 From: nowrep Date: Sat, 2 Mar 2013 23:18:49 +0100 Subject: [PATCH] Quick fix for previous commit. --- src/lib/webview/tabbar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/webview/tabbar.cpp b/src/lib/webview/tabbar.cpp index 9a0280bd8..01680635c 100644 --- a/src/lib/webview/tabbar.cpp +++ b/src/lib/webview/tabbar.cpp @@ -266,8 +266,8 @@ QSize TabBar::tabSizeHint(int index) const // Fill any empty space (we've got from rounding) with active tab if (index == currentIndex()) { if (adjustingActiveTab) { - m_activeTabWidth += (availableWidth - MINIMUM_ACTIVE_TAB_WIDTH - - maxWidthForTab * (normalTabsCount - 1)); + m_activeTabWidth = (availableWidth - MINIMUM_ACTIVE_TAB_WIDTH + - maxWidthForTab * (normalTabsCount - 1)) + realTabWidth; } else { m_activeTabWidth = (availableWidth - maxWidthForTab * normalTabsCount) + maxWidthForTab;