VirtualBox

Changeset 86688 in vbox for trunk/src


Ignore:
Timestamp:
Oct 23, 2020 2:01:54 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9653: VirtualBox Manager: Cloud Profile Manager: A bit of cleanup for old code unused since Main API events arrived.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/cloud/profilemanager
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/cloud/profilemanager/UICloudProfileManager.cpp

    r86687 r86688  
    962962}
    963963
    964 void UICloudProfileManagerWidget::updateItemForCloudProfile(const UIDataCloudProfile &profileData, bool fChooseItem, UIItemCloudProfile *pItem)
    965 {
    966     /* Update passed item: */
    967     if (pItem)
    968     {
    969         /* Configure item: */
    970         pItem->UIDataCloudProfile::operator=(profileData);
    971         pItem->updateFields();
    972         /* And choose it as current if necessary: */
    973         if (fChooseItem)
    974             m_pTreeWidget->setCurrentItem(pItem);
    975     }
    976 }
    977 
    978964QStringList UICloudProfileManagerWidget::gatherCloudProfileManagerRestrictions(QTreeWidgetItem *pParentItem)
    979965{
  • trunk/src/VBox/Frontends/VirtualBox/src/cloud/profilemanager/UICloudProfileManager.h

    r86687 r86688  
    175175          * on the basis of passed @a providerData, @a fChooseItem if requested. */
    176176        void createItemForCloudProvider(const UIDataCloudProvider &providerData, bool fChooseItem);
    177 
    178177        /** Creates a new tree-widget item as a child of certain @a pParent,
    179178          * on the basis of passed @a profileData, @a fChooseItem if requested. */
    180179        void createItemForCloudProfile(QTreeWidgetItem *pParent, const UIDataCloudProfile &profileData, bool fChooseItem);
    181         /** Updates the passed tree-widget item on the basis of passed @a profileData, @a fChooseItem if requested. */
    182         void updateItemForCloudProfile(const UIDataCloudProfile &profileData, bool fChooseItem, UIItemCloudProfile *pItem);
    183180
    184181        /* Gathers a list of Cloud Profile Manager restrictions starting from @a pParentItem. */
     
    189186      * @{ */
    190187        /** Holds the widget embedding type. */
    191         const EmbedTo m_enmEmbedding;
     188        const EmbedTo  m_enmEmbedding;
    192189        /** Holds the action-pool reference. */
    193         UIActionPool *m_pActionPool;
     190        UIActionPool  *m_pActionPool;
    194191        /** Holds whether we should create/show toolbar. */
    195         const bool    m_fShowToolbar;
     192        const bool     m_fShowToolbar;
    196193    /** @} */
    197194
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