Changeset 91363 in vbox for trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
- Timestamp:
- Sep 24, 2021 1:08:32 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r86650 r91363 480 480 if ( machineState == MachineState_Aborted 481 481 || machineState == MachineState_Teleported 482 || (machineState == MachineState_Saved && !m_fIgnorePowerOffEvents) 483 || (machineState == MachineState_PoweredOff && !m_fIgnorePowerOffEvents) 482 || (machineState == MachineState_Saved && !m_fIgnorePowerOffEvents) 483 || (machineState == MachineState_AbortedSaved && !m_fIgnorePowerOffEvents) 484 || (machineState == MachineState_PoweredOff && !m_fIgnorePowerOffEvents) 484 485 ) 485 486 { … … 615 616 case MachineState_Teleported: return "Teleported"; 616 617 case MachineState_Aborted: return "Aborted"; 618 case MachineState_AbortedSaved: return "Aborted-Saved"; 617 619 case MachineState_Running: return "Running"; 618 620 case MachineState_Teleporting: return "Teleporting"; … … 1892 1894 MachineState_T machineState; 1893 1895 gpMachine->COMGETTER(State)(&machineState); 1894 if (machineState == MachineState_Saved )1896 if (machineState == MachineState_Saved || machineState == MachineState_AbortedSaved) 1895 1897 { 1896 1898 CHECK_ERROR(gpMachine, DiscardSavedState(true /* fDeleteFile */)); … … 3079 3081 */ 3080 3082 if ( gpMachine 3081 && machineState != MachineState_Saved) 3083 && machineState != MachineState_Saved 3084 && machineState != MachineState_AbortedSaved) 3082 3085 { 3083 3086 rc = gpMachine->DiscardSettings();
Note:
See TracChangeset
for help on using the changeset viewer.