Changeset 107584 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jan 9, 2025 10:21:08 AM (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPool.cpp
r106709 r107584 3548 3548 bool UIActionPool::addAction(UIMenu *pMenu, UIAction *pAction, bool fReallyAdd /* = true */) 3549 3549 { 3550 /* Sanity check: */ 3551 AssertPtrReturn(pMenu, false); 3552 AssertPtrReturn(pAction, false); 3553 3550 3554 /* Check if action is allowed: */ 3551 3555 const bool fIsActionAllowed = pAction->isAllowed(); … … 3675 3679 /* 'Close' action: */ 3676 3680 fSeparator = addAction(pMenu, action(UIActionIndex_M_Application_S_Close)) || fSeparator; 3681 3682 /* Remove if fSeparator is used: */ 3683 Q_UNUSED(fSeparator); 3677 3684 3678 3685 /* Mark menu as valid: */ … … 3742 3749 #endif 3743 3750 3751 /* Remove if fSeparator is used: */ 3752 Q_UNUSED(fSeparator); 3753 3744 3754 /* Mark menu as valid: */ 3745 3755 m_invalidations.remove(UIActionIndex_Menu_Help); … … 3801 3811 fSeparator = addAction(pMenu, action(UIActionIndex_M_Log_S_Refresh)) || fSeparator; 3802 3812 fSeparator = addAction(pMenu, action(UIActionIndex_M_Log_S_Reload)) || fSeparator; 3813 3814 /* Remove if fSeparator is used: */ 3815 Q_UNUSED(fSeparator); 3803 3816 } 3804 3817
Note:
See TracChangeset
for help on using the changeset viewer.