VirtualBox

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

FE/Qt4: do it right

File:
1 edited

Legend:

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

    r34006 r34007  
    542542    int h = 2 * mTwBootOrder->frameWidth();
    543543    int w = h;
    544 #if defined(Q_WS_MAC) && (QT_VERSION < 0x040700)
     544#if QT_VERSION < 0x040700
     545# ifdef Q_WS_MAC
    545546    int left, top, right, bottom;
    546547    mTwBootOrder->getContentsMargins (&left, &top, &right, &bottom);
    547548    h += top + bottom;
    548549    w += left + right;
    549 #else /* defined(Q_WS_MAC) && (QT_VERSION < 0x040700) */
     550# else /* Q_WS_MAC */
    550551    w += 4;
    551 #endif /* !(defined(Q_WS_MAC) && (QT_VERSION < 0x040700)) */
     552# endif /* !Q_WS_MAC */
     553#endif /* QT_VERSION < 0x040700 */
    552554    mTwBootOrder->setFixedSize(
    553555        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