summaryrefslogtreecommitdiff
path: root/src/tabbar.cpp
diff options
context:
space:
mode:
authorPanagiotis Papadopoulos <pano_90@gmx.net>2009-06-21 23:08:53 +0200
committerPanagiotis Papadopoulos <pano_90@gmx.net>2009-06-21 23:08:53 +0200
commit4e4c628ca96fb9cc2810cfd1c93ce4db2ed77c2d (patch)
tree933b7f75f631da867c342bbf86cb3b0d68e2d6fe /src/tabbar.cpp
parentModified strings in the WebKit settings a bit (diff)
parent0.1.6 version with new notifying system (diff)
downloadrekonq-4e4c628ca96fb9cc2810cfd1c93ce4db2ed77c2d.tar.xz
Merge commit 'rekonq-master/master'
Diffstat (limited to 'src/tabbar.cpp')
-rw-r--r--src/tabbar.cpp19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/tabbar.cpp b/src/tabbar.cpp
index 96e3d19c..2680dfb7 100644
--- a/src/tabbar.cpp
+++ b/src/tabbar.cpp
@@ -70,25 +70,8 @@ TabBar::~TabBar()
QSize TabBar::tabSizeHint(int index) const
{
QSize s = m_parent->sizeHint();
- int w;
- int n = count();
-
- if (n > 6)
- {
- w = s.width() / 5;
- }
- else
- {
- if (n > 3)
- {
- w = s.width() / 4;
- }
- else
- {
- w = s.width() / 3;
- }
- }
+ int w = s.width() / 4;
int h = KTabBar::tabSizeHint(index).height();
QSize ts = QSize(w, h);