summaryrefslogtreecommitdiff
path: root/src/tabbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-02-27 15:29:58 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-02-27 15:29:58 +0100
commit0f1dfeac60cdf35e44838b1323d98db8383738c7 (patch)
tree7f01671350c421a8bb82ec17d57c6afeda26b367 /src/tabbar.cpp
parenttests support for every Qt derived rekonq class (diff)
downloadrekonq-0f1dfeac60cdf35e44838b1323d98db8383738c7.tar.xz
New (embrional) unit tests: mainview, tabbar, webtab, webpage
Diffstat (limited to 'src/tabbar.cpp')
-rw-r--r--src/tabbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tabbar.cpp b/src/tabbar.cpp
index ff996cb5..49ed230b 100644
--- a/src/tabbar.cpp
+++ b/src/tabbar.cpp
@@ -93,13 +93,13 @@ QSize TabBar::tabSizeHint(int index) const
int minWidth = view->sizeHint().width()/MIN_WIDTH_DIVISOR;
int w;
- if (baseWidth*count()<tabBarWidth)
+ if (baseWidth*count() < tabBarWidth)
{
w = baseWidth;
}
else
{
- if (count() > 0 && tabBarWidth/count()>minWidth)
+ if (count() > 0 && tabBarWidth/count() > minWidth)
{
w = tabBarWidth/count();
}