- Timestamp:
- May 19, 2020 11:01:18 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageBasic1.cpp
r83857 r84362 295 295 setClient(comCloudClient); 296 296 297 /* Gather instance names, ids and states. 298 * Currently we are interested in Running and Stopped instances only. */ 297 /* Gather instance names and ids: */ 299 298 CStringArray comNames; 300 299 CStringArray comIDs; 301 const QVector<KCloudMachineState> cloudMachineStates = QVector<KCloudMachineState>()302 << KCloudMachineState_Running303 << KCloudMachineState_Stopped;304 300 305 301 /* Ask for cloud instances: */ 306 CProgress comProgress = comCloudClient.List Instances(cloudMachineStates,comNames, comIDs);302 CProgress comProgress = comCloudClient.ListSourceInstances(comNames, comIDs); 307 303 if (!comCloudClient.isOk()) 308 304 {
Note:
See TracChangeset
for help on using the changeset viewer.