diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-06-19 17:37:10 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-06-19 17:37:10 +0200 |
commit | 5257a168febf317f90a6383373586fcb535393d1 (patch) | |
tree | 2f503aa09d07617da9d6f1499e0ba992ed50fa4a /src/tabbar.cpp | |
parent | Fixing webpage headers (diff) | |
download | rekonq-5257a168febf317f90a6383373586fcb535393d1.tar.xz |
New Tab tool button
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); |