VN_SILENT: warning--

svn path=/trunk/KDE/kdelibs/; revision=916695
This commit is contained in:
Marco Martin 2009-01-25 19:34:41 +00:00
parent d0fb10f0cc
commit 7efa1412b8

View File

@ -271,7 +271,7 @@ int TabBar::currentIndex() const
void TabBar::resizeEvent(QGraphicsSceneResizeEvent * event) void TabBar::resizeEvent(QGraphicsSceneResizeEvent * event)
{ {
if (!d->isTabWidget) { if (!d->isTabWidget) {
d->tabProxy->native->setMinimumSize(contentsRect().size().toSize()); d->tabProxy->native->setMinimumSize(event->newSize().toSize());
} else { } else {
d->tabProxy->native->setMinimumSize(QSize(0,0)); d->tabProxy->native->setMinimumSize(QSize(0,0));
} }