VirtualBox

Changeset 18116 in vbox for trunk/src


Ignore:
Timestamp:
Mar 20, 2009 1:20:45 PM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4: only test if the guest entered the ACPI state if this information is really required

Location:
trunk/src/VBox
Files:
2 edited

Legend:

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

    r17669 r18116  
    12821282    static const char *kDiscardCurState = "discardCurState";
    12831283
    1284     bool isACPIEnabled = csession.GetConsole().GetGuestEnteredACPIMode();
    1285 
    12861284    if (!console)
    12871285    {
     
    13161314        /* start with ignore the close event */
    13171315        e->ignore();
     1316
     1317        bool isACPIEnabled = csession.GetConsole().GetGuestEnteredACPIMode();
    13181318
    13191319        bool success = true;
  • trunk/src/VBox/Main/ConsoleImpl.cpp

    r17684 r18116  
    16131613    if (mMachineState != MachineState_Running)
    16141614        return setError (VBOX_E_INVALID_VM_STATE,
    1615             tr ("Invalid machine state: %d)"), mMachineState);
     1615            tr ("Invalid machine state %d when checking if the guest entered "
     1616                "the ACPI mode)"), mMachineState);
    16161617
    16171618    /* protect mpVM */
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