Changeset 84327 in vbox
- Timestamp:
- May 18, 2020 11:32:10 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageBasic1.cpp
r84289 r84327 296 296 setClient(comCloudClient); 297 297 298 /* Gather image names, ids and states. 299 * Currently we are interested in Available images only. */ 298 /* Gather source names and ids, depending on current source tab-bar index: */ 300 299 CStringArray comNames; 301 300 CStringArray comIDs; 302 const QVector<KCloudImageState> cloudImageStates = QVector<KCloudImageState>()303 << KCloudImageState_Available;304 305 /* Depending on current source tab-bar index: */306 301 CProgress comProgress; 307 302 switch (m_pSourceTabBar->currentIndex()) … … 309 304 case 0: 310 305 { 311 /* Ask for cloud boot-volumes : */312 comProgress = comCloudClient.List BootVolumes(comNames, comIDs);306 /* Ask for cloud boot-volumes, currently we are interested in Source boot-volumes only: */ 307 comProgress = comCloudClient.ListSourceBootVolumes(comNames, comIDs); 313 308 break; 314 309 } 315 310 case 1: 316 311 { 317 /* Ask for cloud images: */ 312 /* Ask for cloud images, currently we are interested in Available images only: */ 313 const QVector<KCloudImageState> cloudImageStates = QVector<KCloudImageState>() 314 << KCloudImageState_Available; 318 315 comProgress = comCloudClient.ListImages(cloudImageStates, comNames, comIDs); 319 316 break;
Note:
See TracChangeset
for help on using the changeset viewer.