Changeset 7643 in vbox for trunk/src/VBox/Frontends/VirtualBox4/include/VBoxUtils.h
- Timestamp:
- Mar 31, 2008 10:25:13 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxUtils.h
r7627 r7643 219 219 #endif // __VBoxUtils_h__ 220 220 221 /* Qt 4.2.0 support function */222 inline void setLayoutMargin (QLayout *aLayout, int aMargin)223 {224 #if QT_VERSION < 0x040300225 /* Deprecated since > 4.2 */226 aLayout->setMargin (aMargin);227 #else228 /* New since > 4.2 */229 aLayout->setContentsMargins (aMargin, aMargin, aMargin, aMargin);230 #endif231 }232
Note:
See TracChangeset
for help on using the changeset viewer.