VirtualBox

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

FE/Qt: bugref:9653: VirtualBox Manager: Chooser pane: Few more cleanup for r141004 (s.a. r141005).

File:
1 edited

Legend:

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

    r86656 r86663  
    19601960        const QString strProviderShortName = pMachineItem->parentItem()->parentItem()->name();
    19611961        const QString strProfileName = pMachineItem->parentItem()->name();
    1962         const UICloudAccountKey accountKey = qMakePair(strProviderShortName, strProfileName);
    1963         if (!changedCloudAccountKeys.contains(accountKey))
    1964             changedCloudAccountKeys.insert(accountKey);
     1962        const UICloudAccountKey cloudAccountKey = qMakePair(strProviderShortName, strProfileName);
     1963        if (!changedCloudAccountKeys.contains(cloudAccountKey))
     1964            changedCloudAccountKeys.insert(cloudAccountKey);
    19651965    }
    19661966
    19671967    /* Restart List Cloud Machines task for required account keys: */
    1968     foreach (const UICloudAccountKey &accountKey, changedCloudAccountKeys)
     1968    foreach (const UICloudAccountKey &cloudAccountKey, changedCloudAccountKeys)
    19691969    {
    19701970        /* Skip cloud account keys already being updated: */
    1971         if (containsCloudAccountKey(accountKey))
     1971        if (containsCloudAccountKey(cloudAccountKey))
    19721972            continue;
    1973         insertCloudAccountKey(accountKey);
     1973        insertCloudAccountKey(cloudAccountKey);
    19741974
    19751975        /* Create a task for particular cloud account key: */
    1976         UITaskCloudListMachines *pTask = new UITaskCloudListMachines(accountKey.first /* short provider name */,
    1977                                                                      accountKey.second /* profile name */,
     1976        UITaskCloudListMachines *pTask = new UITaskCloudListMachines(cloudAccountKey.first /* short provider name */,
     1977                                                                     cloudAccountKey.second /* profile name */,
    19781978                                                                     false /* with refresh? */);
    19791979        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