VirtualBox

Changeset 47462 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jul 29, 2013 2:40:42 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: Small cleanup for r87614.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/widgets
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupStack.cpp

    r47461 r47462  
    6767    m_pScrollViewport->updatePopupPane(strPopupPaneID,
    6868                                       strMessage, strDetails);
    69 
    70     /* Propagate width: */
    71     propagateWidth();
    7269}
    7370
     
    7673    /* Redirect request to viewport: */
    7774    m_pScrollViewport->recallPopupPane(strPopupPaneID);
    78 
    79     /* Propagate width: */
    80     propagateWidth();
    8175}
    8276
     
    114108    int iX = fIsWindow ? geo.x() : 0;
    115109    int iY = fIsWindow ? geo.y() : 0;
    116     /* Subtract menu-bar height: */
     110    /* Add menu-bar height: */
    117111    iY += m_iParentMenuBarHeight;
    118112
     
    222216        case QEvent::Resize:
    223217        {
    224             /* Propagate stack width: */
     218            /* Propagate width: */
    225219            propagateWidth();
    226220            /* Adjust geometry: */
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupStackViewport.h

    r47461 r47462  
    3434signals:
    3535
    36     /* Notifier: Layout stuff: */
     36    /* Notifiers: Layout stuff: */
    3737    void sigProposePopupPaneWidth(int iWidth);
    3838    void sigSizeHintChanged();
    3939
    40     /* Notifier: Popup-pane stuff: */
     40    /* Notifiers: Popup-pane stuff: */
    4141    void sigPopupPaneDone(QString strPopupPaneID, int iResultCode);
    4242    void sigPopupPaneRemoved(QString strPopupPaneID);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette