VirtualBox

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


Ignore:
Timestamp:
Oct 29, 2020 2:30:30 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9653: VirtualBox Manager: Chooser pane: Stop refreshing cloud machines being deleted.

File:
1 edited

Legend:

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

    r86759 r86760  
    19141914    foreach (UIChooserItemMachine *pMachineItem, machineItems)
    19151915    {
    1916         /* Compose cloud entity keys for profile: */
     1916        /* Compose cloud entity keys for profile and machine: */
    19171917        const QString strProviderShortName = pMachineItem->parentItem()->parentItem()->name();
    19181918        const QString strProfileName = pMachineItem->parentItem()->name();
     1919        const QUuid uMachineId = pMachineItem->id();
    19191920        const UICloudEntityKey cloudEntityKeyForProfile = UICloudEntityKey(strProviderShortName, strProfileName);
     1921        const UICloudEntityKey cloudEntityKeyForMachine = UICloudEntityKey(strProviderShortName, strProfileName, uMachineId);
     1922
     1923        /* Stop refreshing machine being deleted: */
     1924        if (containsCloudEntityKey(cloudEntityKeyForMachine))
     1925            pMachineItem->cache()->toCloud()->waitForAsyncInfoUpdateFinished();
    19201926
    19211927        /* Acquire cloud machine: */
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