Ignore:
Timestamp:
Mar 8, 2010, 12:52:58 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.2 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/widgets/qmainwindowlayout.cpp

    r561 r651  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    16281628#endif
    16291629
     1630        savedState.clear();
     1631        currentGapPos.clear();
     1632        pluggingWidget = 0;
     1633        //applying the state will make sure that the currentGap is updated correctly
     1634        //and all the geometries (especially the one from the central widget) is correct
     1635        layoutState.apply(false);
     1636
    16301637#ifndef QT_NO_DOCKWIDGET
    16311638#ifndef QT_NO_TABBAR
     
    16381645#endif
    16391646#endif
    1640 
    1641         savedState.clear();
    1642         currentGapPos.clear();
    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);
    16471647    }
    16481648
Note: See TracChangeset for help on using the changeset viewer.