VirtualBox

Changeset 44015 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 3, 2012 2:45:56 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
82429
Message:

FE/Qt: VM group UI: Details-view: Set-item cleanup (part 3).

Location:
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsSet.cpp

    r44014 r44015  
    3535    , m_pStep(0)
    3636    , m_iStep(-1)
    37     , m_iLastStep(-1)
     37    , m_iLastStepNumber(-1)
    3838{
    3939    /* Add set to the parent group: */
     
    5858void UIGDetailsSet::configure(UIVMItem *pItem, const QStringList &settings, bool fFullSet)
    5959{
    60     /* Assign settings: */
     60    /* Remember passed arguments: */
    6161    m_machine = pItem->machine();
    6262    m_fFullSet = fFullSet;
     
    7070
    7171    /* Choose last-step number: */
    72     m_iLastStep = m_fFullSet ? DetailsElementType_Description : DetailsElementType_Preview;
     72    m_iLastStepNumber = m_fFullSet ? DetailsElementType_Description : DetailsElementType_Preview;
    7373
    7474    /* Fetch USB controller restrictions: */
     
    490490{
    491491    /* Step number feats the bounds: */
    492     if (m_iStep <= m_iLastStep)
     492    if (m_iStep <= m_iLastStepNumber)
    493493    {
    494494        /* Load details settings: */
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsSet.h

    r44013 r44015  
    117117    UIPrepareStep *m_pStep;
    118118    int m_iStep;
    119     int m_iLastStep;
     119    int m_iLastStepNumber;
    120120    QString m_strSetId;
    121121    QStringList m_settings;
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