VirtualBox

Changeset 72256 in vbox


Ignore:
Timestamp:
May 18, 2018 10:09:54 AM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: Declare a variable just before using it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp

    r72215 r72256  
    23912391void UISelectorWindow::updateActionsAppearance()
    23922392{
    2393     /* Get current item(s): */
    2394     UIVMItem *pItem = currentItem();
     2393    /* Get current items: */
    23952394    QList<UIVMItem*> items = currentItems();
    23962395
     
    24482447    actionPool()->action(UIActionIndexST_M_Machine_M_Close_S_PowerOff)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_M_Close_S_PowerOff, items));
    24492448
     2449    /* Get current item: */
     2450    UIVMItem *pItem = currentItem();
     2451
    24502452    /* Start/Show action is deremined by 1st item: */
    24512453    if (pItem && pItem->accessible())
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