VirtualBox

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


Ignore:
Timestamp:
Nov 11, 2010 6:37:19 PM (14 years ago)
Author:
vboxsync
Message:

FE/Qt4: still necessary for older Qt versions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSystem.cpp

    r34004 r34006  
    542542    int h = 2 * mTwBootOrder->frameWidth();
    543543    int w = h;
     544#if defined(Q_WS_MAC) && (QT_VERSION < 0x040700)
     545    int left, top, right, bottom;
     546    mTwBootOrder->getContentsMargins (&left, &top, &right, &bottom);
     547    h += top + bottom;
     548    w += left + right;
     549#else /* defined(Q_WS_MAC) && (QT_VERSION < 0x040700) */
     550    w += 4;
     551#endif /* !(defined(Q_WS_MAC) && (QT_VERSION < 0x040700)) */
    544552    mTwBootOrder->setFixedSize(
    545553        iv->sizeHintForColumn(0) + w,
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