mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
Quick fix for previous commit.
This commit is contained in:
parent
1f5df24a44
commit
aa2f6664bf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user