Changeset 27611 in vbox
- Timestamp:
- Mar 22, 2010 7:43:22 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 59157
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineWindow.cpp
r27609 r27611 158 158 bool fIsStateSavingAllowed = !restictedActionsList.contains("SaveState", Qt::CaseInsensitive); 159 159 bool fIsACPIShutdownAllowed = !restictedActionsList.contains("Shutdown", Qt::CaseInsensitive); 160 bool fIsPowerOffAllowed = (uisession()->machineState() == KMachineState_Stuck) || 161 (!restictedActionsList.contains("PowerOff", Qt::CaseInsensitive)); 160 bool fIsPowerOffAllowed = !restictedActionsList.contains("PowerOff", Qt::CaseInsensitive); 162 161 bool fIsPowerOffAndRestoreAllowed = fIsPowerOffAllowed && restictedActionsList.contains("Restore", Qt::CaseInsensitive); 163 162
Note:
See TracChangeset
for help on using the changeset viewer.