one more tiny size fix

svn path=/trunk/KDE/kdelibs/; revision=903507
This commit is contained in:
Marco Martin 2008-12-30 18:00:59 +00:00
parent 1417e507f3
commit 84685506af

View File

@ -153,8 +153,8 @@ QSize NativeTabBar::tabSizeHint(int index) const
minwidth += tabSize(i).width(); minwidth += tabSize(i).width();
} }
if (minwidth < width()) { if (minwidth < width() - d->left - d->right) {
hint.rwidth() += (width() - minwidth) / count(); hint.rwidth() += (width() - d->left - d->right - minwidth) / count();
} }
} }
break; break;