equal
deleted
inserted
replaced
1639 #endif |
1639 #endif |
1640 |
1640 |
1641 savedState.clear(); |
1641 savedState.clear(); |
1642 currentGapPos.clear(); |
1642 currentGapPos.clear(); |
1643 pluggingWidget = 0; |
1643 pluggingWidget = 0; |
|
1644 //applying the state will make sure that the currentGap is updated correctly |
|
1645 //and all the geometries (especially the one from the central widget) is correct |
|
1646 layoutState.apply(false); |
1644 } |
1647 } |
1645 |
1648 |
1646 if (!widgetAnimator.animating()) { |
1649 if (!widgetAnimator.animating()) { |
1647 //all animations are finished |
1650 //all animations are finished |
1648 #ifndef QT_NO_DOCKWIDGET |
1651 #ifndef QT_NO_DOCKWIDGET |