diff options
author | Panagiotis Papadopoulos <pano_90@gmx.net> | 2009-06-21 23:08:53 +0200 |
---|---|---|
committer | Panagiotis Papadopoulos <pano_90@gmx.net> | 2009-06-21 23:08:53 +0200 |
commit | 4e4c628ca96fb9cc2810cfd1c93ce4db2ed77c2d (patch) | |
tree | 933b7f75f631da867c342bbf86cb3b0d68e2d6fe /src/tabbar.cpp | |
parent | Modified strings in the WebKit settings a bit (diff) | |
parent | 0.1.6 version with new notifying system (diff) | |
download | rekonq-4e4c628ca96fb9cc2810cfd1c93ce4db2ed77c2d.tar.xz |
Merge commit 'rekonq-master/master'
Diffstat (limited to 'src/tabbar.cpp')
-rw-r--r-- | src/tabbar.cpp | 19 |
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); |