Changeset 86663 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Oct 21, 2020 2:04:20 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.cpp
r86656 r86663 1960 1960 const QString strProviderShortName = pMachineItem->parentItem()->parentItem()->name(); 1961 1961 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); 1965 1965 } 1966 1966 1967 1967 /* Restart List Cloud Machines task for required account keys: */ 1968 foreach (const UICloudAccountKey & accountKey, changedCloudAccountKeys)1968 foreach (const UICloudAccountKey &cloudAccountKey, changedCloudAccountKeys) 1969 1969 { 1970 1970 /* Skip cloud account keys already being updated: */ 1971 if (containsCloudAccountKey( accountKey))1971 if (containsCloudAccountKey(cloudAccountKey)) 1972 1972 continue; 1973 insertCloudAccountKey( accountKey);1973 insertCloudAccountKey(cloudAccountKey); 1974 1974 1975 1975 /* 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 */, 1978 1978 false /* with refresh? */); 1979 1979 AssertPtrReturnVoid(pTask);
Note:
See TracChangeset
for help on using the changeset viewer.