1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

[ComboTabBar] m_heightIsDirty is not really needed

This commit is contained in:
nowrep 2013-12-23 20:07:57 +01:00
parent 852e197334
commit 3e3d823d95
2 changed files with 0 additions and 10 deletions

View File

@ -41,7 +41,6 @@ ComboTabBar::ComboTabBar(QWidget* parent)
, m_mainTabBar(0)
, m_pinnedTabBar(0)
, m_maxVisiblePinnedTab(0)
, m_heightIsDirty(true)
, m_mainBarOverFlowed(false)
, m_dragOffset(0)
, m_usesScrollButtons(false)
@ -128,14 +127,6 @@ int ComboTabBar::insertTab(int index, const QIcon &icon, const QString &text, bo
tabInserted(index);
setMinimumWidthes();
if (m_heightIsDirty) {
setUpLayout();
if (m_mainTabBarWidget->height() > 0) {
m_heightIsDirty = false;
}
}
return index;
}

View File

@ -173,7 +173,6 @@ private:
int m_maxVisiblePinnedTab;
QString m_closeButtonsToolTip;
bool m_heightIsDirty;
bool m_mainBarOverFlowed;
int m_dragOffset;
bool m_usesScrollButtons;