src/gui/widgets/qmainwindowlayout.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
  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