VirtualBox

Changeset 35795 in vbox for trunk


Ignore:
Timestamp:
Jan 31, 2011 5:05:30 PM (14 years ago)
Author:
vboxsync
Message:

FE/Qt4: Make sure the preview is recreated when the size is valid, only.
Recreate the preview immediately after an resize.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UIVMPreviewWindow.cpp

    r33540 r35795  
    127127{
    128128    repaintBGImages();
     129    sltRecreatePreview();
    129130    QWidget::resizeEvent(pEvent);
    130131}
     
    228229    }
    229230
    230     if (!m_machine.isNull())
     231    if (   !m_machine.isNull()
     232        && m_vRect.width() > 0
     233        && m_vRect.height() > 0)
    231234    {
    232235        Assert(m_machineState != KMachineState_Null);
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