VirtualBox

Changeset 46848 in vbox


Ignore:
Timestamp:
Jun 27, 2013 2:41:40 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: Overall GUI cleanup: Few more things for Qt version less than 4.7.

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

Legend:

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

    r44529 r46848  
    8181    int w = h;
    8282#if QT_VERSION < 0x040700
    83 # ifdef Q_WS_MAC
    84     int left, top, right, bottom;
    85     getContentsMargins(&left, &top, &right, &bottom);
    86     h += top + bottom;
    87     w += left + right;
    88 # else /* Q_WS_MAC */
    89     w += 4;
    90 # endif /* !Q_WS_MAC */
     83    w += 4; // WTF?
    9184#endif /* QT_VERSION < 0x040700 */
    9285    setFixedSize(sizeHintForColumn(0) + w,
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UIWizardCloneVMPageBasic2.cpp

    r41587 r46848  
    7575{
    7676    setFinalPage(pButton != m_pFullCloneRadio);
     77#if QT_VERSION < 0x040700
    7778    /* On older Qt versions the content of the current page isn't updated when
    7879     * using setFinalPage. So switch back and for to simulate it. */
    79 #if QT_VERSION < 0x040700
    8080    wizard()->back();
    8181    wizard()->next();
    82 #endif
     82#endif /* QT_VERSION < 0x040700 */
    8383}
    8484
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