VirtualBox

Changeset 15960 in vbox for trunk


Ignore:
Timestamp:
Jan 15, 2009 11:55:18 AM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4-OSX: update the realtime preview only if we are in an appropriate state

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleView.cpp

    r15804 r15960  
    39323932void VBoxConsoleView::updateDockOverlay()
    39333933{
    3934     if (mDockIconEnabled)
     3934    /* Only to an update to the realtime preview if this is enabled by the user
     3935     * & we are in an state where the framebuffer is likely valid. Otherwise to
     3936     * the overlay stuff only. */
     3937    if (mDockIconEnabled &&
     3938        (mLastState == KMachineState_Running ||
     3939         mLastState == KMachineState_Restoring ||
     3940         mLastState == KMachineState_Saving))
    39353941        updateDockIcon();
    39363942    else
    3937         mDockIconPreview->updateDockOverlay ();
     3943        mDockIconPreview->updateDockOverlay();
    39383944}
    39393945
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