diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-03-27 03:14:47 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-03-27 03:14:47 +0100 |
commit | 3434cd81168e996b66ca6583d5b68cd19bf14c09 (patch) | |
tree | f56512ee225cf0133399a73cf7be845be3c9bc8d /src/tabbar.cpp | |
parent | created rekonq.pot file (diff) | |
download | rekonq-3434cd81168e996b66ca6583d5b68cd19bf14c09.tar.xz |
Some fixes from avaddon-clone. Thank you
Diffstat (limited to 'src/tabbar.cpp')
-rw-r--r-- | src/tabbar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tabbar.cpp b/src/tabbar.cpp index 2e29fb0c..d00a95ce 100644 --- a/src/tabbar.cpp +++ b/src/tabbar.cpp @@ -53,7 +53,7 @@ TabBar::TabBar(QWidget *parent) QFont standardFont = KGlobalSettings::generalFont(); QString fontFamily = standardFont.family(); int dim = standardFont.pointSize(); - setFont( QFont(fontFamily, dim-2) ); + setFont( QFont(fontFamily, dim-1) ); } @@ -75,7 +75,7 @@ QSize TabBar::tabSizeHint (int index) const { w = s.width() / 3; } - int h = s.height() / 20; + int h = KTabBar::tabSizeHint(index).height(); QSize ts = QSize(w,h); return ts; |