VirtualBox

Changeset 61214 in vbox


Ignore:
Timestamp:
May 26, 2016 4:26:05 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
107503
Message:

FE/Qt: bugref:7791: Runtime UI: Close VM dialog: Keep the Detach close-action hidden since we providing the user with the separate Machine menu action instead. S.a. r107319.

File:
1 edited

Legend:

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

    r61104 r61214  
    13291329        m_defaultCloseAction = gEDataManager->defaultMachineCloseAction(strMachineID);
    13301330        m_restrictedCloseActions = gEDataManager->restrictedMachineCloseActions(strMachineID);
     1331        /* We decided to keep the Detach close-action hidden and provide the user with the separate Machine menu action instead: */
     1332        m_restrictedCloseActions = static_cast<MachineCloseAction>(m_restrictedCloseActions | MachineCloseAction_Detach);
    13311333        m_fAllCloseActionsRestricted =  (!vboxGlobal().isSeparateProcess() || (m_restrictedCloseActions & MachineCloseAction_Detach))
    13321334                                     && (m_restrictedCloseActions & MachineCloseAction_SaveState)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette