VirtualBox

Changeset 69958 in vbox


Ignore:
Timestamp:
Dec 6, 2017 1:56:44 PM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: Some coding style corrections

Location:
trunk/src/VBox/Frontends/VirtualBox/src/runtime
Files:
3 edited

Legend:

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

    r69935 r69958  
    12171217    /* Clear the menu to get rid of any previously added actions and separators: */
    12181218    pDockMenu->clear();
    1219    
     1219
    12201220    /* Add all the 'Machine' menu entries to the 'Dock' menu: */
    12211221    QList<QAction*> actions = actionPool()->action(UIActionIndexRT_M_Machine)->menu()->actions();
     
    13661366    if (!allowedActions.empty())
    13671367    {
    1368         QAction *separator = new QAction(pDockMenu);
    1369         separator->setSeparator(true);
    1370         allowedActions.push_back(separator);
     1368        QAction *pSeparator = new QAction(pDockMenu);
     1369        pSeparator->setSeparator(true);
     1370        allowedActions.push_back(pSeparator);
    13711371        pDockMenu->insertActions(m_pDockSettingMenuAction, allowedActions);
    13721372        m_dockMachineMenuActions = allowedActions;
     
    14011401        if (!m_pDockSettingsMenuSeparator)
    14021402            m_pDockSettingsMenuSeparator = pDockSettingsMenu->addSeparator();
    1403         for (int i = 0; i < cVisibleGuestScreens; ++i)
     1403        for (int i=0; i < cVisibleGuestScreens; ++i)
    14041404        {
    14051405            QAction *pAction = new QAction(m_pDockPreviewSelectMonitorGroup);
     
    30613061}
    30623062#endif
    3063 
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.h

    r69935 r69958  
    410410    int m_DockIconPreviewMonitor;
    411411    QAction *m_pDockSettingMenuAction;
    412     /* Keep a list of machine menu actions that we add to dock menu: */
     412    /* Keeps a list of machine menu actions that we add to dock menu. */
    413413    QList<QAction*> m_dockMachineMenuActions;
    414414#endif /* VBOX_WS_MAC */
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp

    r69935 r69958  
    14741474    }
    14751475    /* Update the dock menu as well: */
    1476     if(machineLogic())
     1476    if (machineLogic())
    14771477        machineLogic()->updateDock();
    14781478}
Note: See TracChangeset for help on using the changeset viewer.

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