summaryrefslogtreecommitdiff
path: root/src/tabbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabbar.cpp')
-rw-r--r--src/tabbar.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/tabbar.cpp b/src/tabbar.cpp
index ac257d12..2f0803f8 100644
--- a/src/tabbar.cpp
+++ b/src/tabbar.cpp
@@ -131,7 +131,7 @@ QSize TabBar::tabSizeHint(int index) const
}
}
- int h = view->addTabButton()->height() + 6;
+ int h = KTabBar::tabSizeHint(index).height();
QSize ts = QSize(w, h);
return ts;
@@ -552,3 +552,10 @@ bool TabBar::isURLValid(const QString &url)
isValid = true;
return isValid;
}
+
+
+void TabBar::tabLayoutChange()
+{
+ KTabBar::tabLayoutChange();
+ emit tabLayoutChanged();
+}