invalidate the main layout when te new page is inserted, only way to get
the preferred size right, apparently svn path=/trunk/KDE/kdelibs/; revision=1042410
This commit is contained in:
parent
b03243d7ae
commit
5bd2af94f8
@ -145,6 +145,7 @@ void TabBarPrivate::slidingCompleted(QGraphicsItem *item)
|
||||
if (item == newPage) {
|
||||
tabWidgetLayout->addItem(newPage);
|
||||
newPageAnimId = -1;
|
||||
mainLayout->invalidate();
|
||||
emit q->currentChanged(currentIndex);
|
||||
} else {
|
||||
oldPageAnimId = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user