VirtualBox

Changeset 48794 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Oct 1, 2013 1:43:21 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: 6979: Do not call for IDisplay::InvalidateAndUpdate() in case of restoring VM from saved state.

File:
1 edited

Legend:

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

    r48642 r48794  
    338338        case KMachineState_Running:
    339339        {
    340             if (   m_previousState == KMachineState_Paused
    341                 || m_previousState == KMachineState_TeleportingPausedVM
    342                 || m_previousState == KMachineState_Restoring)
     340            if (m_previousState == KMachineState_Paused ||
     341                m_previousState == KMachineState_TeleportingPausedVM ||
     342                m_previousState == KMachineState_Restoring)
    343343            {
    344344                if (m_pFrameBuffer)
     
    348348                    /* Ask for full guest display update (it will also update
    349349                     * the viewport through IFramebuffer::NotifyUpdate): */
    350                     CDisplay dsp = session().GetConsole().GetDisplay();
    351                     dsp.InvalidateAndUpdate();
     350                    if (m_previousState == KMachineState_Paused ||
     351                        m_previousState == KMachineState_TeleportingPausedVM)
     352                    {
     353                        CDisplay dsp = session().GetConsole().GetDisplay();
     354                        dsp.InvalidateAndUpdate();
     355                    }
    352356                }
    353357            }
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