VirtualBox

Ignore:
Timestamp:
Aug 28, 2012 1:49:07 PM (12 years ago)
Author:
vboxsync
Message:

Qt/Fe: fix crash on mode switch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBufferQImage.cpp

    r42979 r43040  
    6565void UIFrameBufferQImage::paintEvent(QPaintEvent *pEvent)
    6666{
     67    /* on mode switch the paint event may come while the view is null (before the new view gets set)
     68     * this is seen on Windows hosts with 3D enabled,
     69     * ignore paint events in that case */
     70    if (!m_pMachineView)
     71        return;
    6772    /* If the machine is NOT in 'running' state,
    6873     * the link between framebuffer and video memory
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