don't bork horizontal tabbar size
svn path=/trunk/KDE/kdelibs/; revision=1117183
This commit is contained in:
parent
36e45c7929
commit
3d8425e6ef
@ -345,7 +345,7 @@ void TabBar::resizeEvent(QGraphicsSceneResizeEvent * event)
|
||||
{
|
||||
if (!d->tabWidgetMode) {
|
||||
d->tabProxy->setMinimumSize(event->newSize().toSize());
|
||||
setMinimumSize(QSize(-1, -1));
|
||||
setMinimumSize(QSize(0, 0));
|
||||
setMinimumHeight(d->tabProxy->widget()->minimumSizeHint().height());
|
||||
setMaximumSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user