Changeset 98581 in vbox
- Timestamp:
- Feb 15, 2023 10:52:34 AM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 155867
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachine.cpp
r98557 r98581 1017 1017 void UIMachine::sltHandleMachineStateSaved(bool fSuccess) 1018 1018 { 1019 /* Disable 'manual-override' finally: */ 1020 setManualOverrideMode(false); 1021 1022 /* Close Runtime UI if state was saved: */ 1023 if (fSuccess) 1019 /* Let user try again if saving failed: */ 1020 if (!fSuccess) 1021 { 1022 /* Disable 'manual-override' finally: */ 1023 setManualOverrideMode(false); 1024 } 1025 /* Close Runtime UI otherwise: */ 1026 else 1024 1027 closeRuntimeUI(); 1025 1028 } … … 1027 1030 void UIMachine::sltHandleMachinePoweredOff(bool fSuccess, bool fIncludingDiscard) 1028 1031 { 1029 /* Disable 'manual-override' finally: */ 1030 setManualOverrideMode(false); 1031 1032 /* Do we have other tasks? */ 1033 if (fSuccess) 1032 /* Let user try again if power off failed: */ 1033 if (!fSuccess) 1034 { 1035 /* Disable 'manual-override' finally: */ 1036 setManualOverrideMode(false); 1037 } 1038 /* Check for other tasks otherwise: */ 1039 else 1034 1040 { 1035 1041 if (fIncludingDiscard)
Note:
See TracChangeset
for help on using the changeset viewer.