VirtualBox

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


Ignore:
Timestamp:
Oct 20, 2020 2:47:43 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9653: VirtualBox Manager: Chooser pane: Forgot to register cloud account key for manual refresh cloud machine task.

File:
1 edited

Legend:

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

    r86652 r86654  
    926926            case UIVirtualMachineItemType_CloudFake:
    927927            {
    928                 /* Create list cloud machines task: */
     928                /* Compose cloud account key: */
    929929                UIChooserItem *pParent = pItem->parentItem();
    930930                AssertPtrReturnVoid(pParent);
    931931                UIChooserItem *pParentOfParent = pParent->parentItem();
    932932                AssertPtrReturnVoid(pParentOfParent);
    933                 UITaskCloudListMachines *pTask = new UITaskCloudListMachines(pParentOfParent->name(),
    934                                                                              pParent->name(),
     933
     934                /* Insert cloud account key into a list of keys currently being updated: */
     935                const UICloudAccountKey cloudAccountKey = qMakePair(pParentOfParent->name(), pParent->name());
     936                insertCloudAccountKey(cloudAccountKey);
     937
     938                /* Create list cloud machines task: */
     939                UITaskCloudListMachines *pTask = new UITaskCloudListMachines(cloudAccountKey.first /* short provider name */,
     940                                                                             cloudAccountKey.second /* profile name */,
    935941                                                                             true /* with refresh? */);
    936942                AssertPtrReturnVoid(pTask);
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