Changeset 91522 in vbox for trunk/src/VBox
- Timestamp:
- Oct 1, 2021 3:08:36 PM (3 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageBasic1.cpp
r91521 r91522 229 229 { 230 230 /* Clear appliance: */ 231 m_com Appliance = CAppliance();231 m_comCloudAppliance = CAppliance(); 232 232 /* Clear form properties: */ 233 233 m_comVSDForm = CVirtualSystemDescriptionForm(); … … 249 249 250 250 /* Remember appliance: */ 251 m_com Appliance = comAppliance;251 m_comCloudAppliance = comAppliance; 252 252 253 253 /* Read cloud instance info: */ 254 CProgress comReadProgress = m_com Appliance.Read(QString("OCI://%1/%2").arg(profileName(), machineId()));255 if (!m_com Appliance.isOk())256 { 257 msgCenter().cannotImportAppliance(m_com Appliance);254 CProgress comReadProgress = m_comCloudAppliance.Read(QString("OCI://%1/%2").arg(profileName(), machineId())); 255 if (!m_comCloudAppliance.isOk()) 256 { 257 msgCenter().cannotImportAppliance(m_comCloudAppliance); 258 258 break; 259 259 } … … 264 264 if (!comReadProgress.isOk() || comReadProgress.GetResultCode() != 0) 265 265 { 266 msgCenter().cannotImportAppliance(comReadProgress, m_com Appliance.GetPath());266 msgCenter().cannotImportAppliance(comReadProgress, m_comCloudAppliance.GetPath()); 267 267 break; 268 268 } 269 269 270 270 /* Acquire virtual system description: */ 271 QVector<CVirtualSystemDescription> descriptions = m_com Appliance.GetVirtualSystemDescriptions();272 if (!m_com Appliance.isOk())273 { 274 msgCenter().cannotAcquireVirtualSystemDescription(m_com Appliance);271 QVector<CVirtualSystemDescription> descriptions = m_comCloudAppliance.GetVirtualSystemDescriptions(); 272 if (!m_comCloudAppliance.isOk()) 273 { 274 msgCenter().cannotAcquireVirtualSystemDescription(m_comCloudAppliance); 275 275 break; 276 276 } … … 352 352 CAppliance UIWizardImportAppPage1::cloudAppliance() const 353 353 { 354 return m_com Appliance;354 return m_comCloudAppliance; 355 355 } 356 356 … … 677 677 populateFormProperties(); 678 678 /* And make sure they are not null: */ 679 return m_com Appliance.isNotNull() && m_comVSDForm.isNotNull();679 return m_comCloudAppliance.isNotNull() && m_comVSDForm.isNotNull(); 680 680 } 681 681 else -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageBasic1.h
r91521 r91522 116 116 /** Holds the Cloud Client object reference. */ 117 117 CCloudClient m_comCloudClient; 118 /** Holds the Appliance object reference. */119 CAppliance m_com Appliance;118 /** Holds the Cloud Appliance object reference. */ 119 CAppliance m_comCloudAppliance; 120 120 /** Holds the Virtual System Description Form object reference. */ 121 121 CVirtualSystemDescriptionForm m_comVSDForm; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageExpert.cpp
r86687 r91522 328 328 && !m_comCloudClient.isNull() 329 329 && !machineId().isNull() 330 && !m_com Appliance.isNull()330 && !m_comCloudAppliance.isNull() 331 331 && !m_comVSDForm.isNull()); 332 332 }
Note:
See TracChangeset
for help on using the changeset viewer.