VirtualBox

Changeset 107977 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jan 29, 2025 11:38:15 AM (3 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167240
Message:

FE/Qt: bugref:10814: VBox Manager / Tools pane: Wiping out unused item reconfigure stuff.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/manager/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsItem.cpp

    r107976 r107977  
    228228}
    229229
    230 void UIToolsItem::reconfigure(UIToolClass enmClass, UIToolType enmType,
    231                               const QIcon &icon, const QString &strName)
    232 {
    233     /* If class is changed: */
    234     if (m_enmClass != enmClass)
    235     {
    236         /* Update linked values: */
    237         m_enmClass = enmClass;
    238     }
    239 
    240     /* If type is changed: */
    241     if (m_enmType != enmType)
    242     {
    243         /* Update linked values: */
    244         m_enmType = enmType;
    245     }
    246 
    247     /* Update linked values: */
    248     m_icon = icon;
    249     updatePixmap();
    250 
    251     /* Update name finally: */
    252     reconfigure(strName);
    253 }
    254 
    255230void UIToolsItem::reconfigure(const QString &strName)
    256231{
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsItem.h

    r107976 r107977  
    100100        UIToolsModel *model() const;
    101101
    102         /** Reconfigures item with new @a enmClass, @a enmType, @a icon and @a strName. */
    103         void reconfigure(UIToolClass enmClass, UIToolType enmType,
    104                          const QIcon &icon, const QString &strName);
    105102        /** Reconfigures item with @a strName. */
    106103        void reconfigure(const QString &strName);
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