VirtualBox

Changeset 2903 in vbox for trunk/src


Ignore:
Timestamp:
May 29, 2007 10:05:16 AM (18 years ago)
Author:
vboxsync
Message:

FE/Qt: Corrected the fix for #1989.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxGlobalSettingsDlg.ui.h

    r2889 r2903  
    504504    polished = true;
    505505
    506     /* update geometry for dynamically added usb-page to avoid qt-layout
    507      * hints conflict. */
     506    /* update geometry for the dynamically added usb-page to ensure proper
     507     * sizeHint calculation by the Qt layout manager */
    508508    wstUSBFilters->updateGeometry();
    509     qApp->eventLoop()->processEvents (QEventLoop::AllEvents, 1000);
     509    /* let our toplevel widget calculate its sizeHint properly */
     510    QApplication::sendPostedEvents (0, 0);
    510511
    511512    /* resize to the miminum possible size */
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui.h

    r2895 r2903  
    818818    polished = true;
    819819
    820     /* update geometry for dynamically added usb-page to avoid qt-layout
    821      * hints conflict. */
     820    /* update geometry for the dynamically added usb-page to ensure proper
     821     * sizeHint calculation by the Qt layout manager */
    822822    wstUSBFilters->updateGeometry();
    823     qApp->eventLoop()->processEvents (QEventLoop::AllEvents, 1000);
     823    /* let our toplevel widget calculate its sizeHint properly */
     824    QApplication::sendPostedEvents (0, 0);
    824825
    825826    layout()->activate();
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