VirtualBox

Ignore:
Timestamp:
Feb 28, 2020 10:59:44 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
136302
Message:

FE/Qt: bugref:9653: VirtualBox Manager: Chooser pane: When initial cloud instance acquiring is complete we should request information update for each cloud node we have; These requests will be queued as async tasks and executed by thread-pool when thread-workers are ready.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserAbstractModel.cpp

    r83099 r83178  
    299299    pFakeCloudMachineItem->recache();
    300300
    301     /* Add real cloud VM items: */
     301    /* Add real cloud VM nodes: */
    302302    int iPosition = 1; /* we've got item with index 0 already, the "Empty" one .. */
    303303    foreach (const UICloudMachine &guiCloudMachine, pAcquiringTask->result())
    304         new UIChooserNodeMachine(pParentNode,
    305                                  false /* favorite */,
    306                                  iPosition++ /* position */,
    307                                  guiCloudMachine);
     304    {
     305        /* Create new node: */
     306        UIChooserNodeMachine *pNode = new UIChooserNodeMachine(pParentNode,
     307                                                               false /* favorite */,
     308                                                               iPosition++ /* position */,
     309                                                               guiCloudMachine);
     310        /* Request async node update: */
     311        pNode->cache()->toCloud()->updateInfoAsync(false /* delayed? */);
     312    }
    308313}
    309314#endif /* VBOX_GUI_WITH_CLOUD_VMS */
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