VirtualBox

Changeset 91522 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 1, 2021 3:08:36 PM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9996: UIWizardImportApp: Forgot something in r147213.

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  
    229229{
    230230    /* Clear appliance: */
    231     m_comAppliance = CAppliance();
     231    m_comCloudAppliance = CAppliance();
    232232    /* Clear form properties: */
    233233    m_comVSDForm = CVirtualSystemDescriptionForm();
     
    249249
    250250            /* Remember appliance: */
    251             m_comAppliance = comAppliance;
     251            m_comCloudAppliance = comAppliance;
    252252
    253253            /* Read cloud instance info: */
    254             CProgress comReadProgress = m_comAppliance.Read(QString("OCI://%1/%2").arg(profileName(), machineId()));
    255             if (!m_comAppliance.isOk())
    256             {
    257                 msgCenter().cannotImportAppliance(m_comAppliance);
     254            CProgress comReadProgress = m_comCloudAppliance.Read(QString("OCI://%1/%2").arg(profileName(), machineId()));
     255            if (!m_comCloudAppliance.isOk())
     256            {
     257                msgCenter().cannotImportAppliance(m_comCloudAppliance);
    258258                break;
    259259            }
     
    264264            if (!comReadProgress.isOk() || comReadProgress.GetResultCode() != 0)
    265265            {
    266                 msgCenter().cannotImportAppliance(comReadProgress, m_comAppliance.GetPath());
     266                msgCenter().cannotImportAppliance(comReadProgress, m_comCloudAppliance.GetPath());
    267267                break;
    268268            }
    269269
    270270            /* Acquire virtual system description: */
    271             QVector<CVirtualSystemDescription> descriptions = m_comAppliance.GetVirtualSystemDescriptions();
    272             if (!m_comAppliance.isOk())
    273             {
    274                 msgCenter().cannotAcquireVirtualSystemDescription(m_comAppliance);
     271            QVector<CVirtualSystemDescription> descriptions = m_comCloudAppliance.GetVirtualSystemDescriptions();
     272            if (!m_comCloudAppliance.isOk())
     273            {
     274                msgCenter().cannotAcquireVirtualSystemDescription(m_comCloudAppliance);
    275275                break;
    276276            }
     
    352352CAppliance UIWizardImportAppPage1::cloudAppliance() const
    353353{
    354     return m_comAppliance;
     354    return m_comCloudAppliance;
    355355}
    356356
     
    677677        populateFormProperties();
    678678        /* And make sure they are not null: */
    679         return m_comAppliance.isNotNull() && m_comVSDForm.isNotNull();
     679        return m_comCloudAppliance.isNotNull() && m_comVSDForm.isNotNull();
    680680    }
    681681    else
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageBasic1.h

    r91521 r91522  
    116116    /** Holds the Cloud Client object reference. */
    117117    CCloudClient                   m_comCloudClient;
    118     /** Holds the Appliance object reference. */
    119     CAppliance                     m_comAppliance;
     118    /** Holds the Cloud Appliance object reference. */
     119    CAppliance                     m_comCloudAppliance;
    120120    /** Holds the Virtual System Description Form object reference. */
    121121    CVirtualSystemDescriptionForm  m_comVSDForm;
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageExpert.cpp

    r86687 r91522  
    328328                      && !m_comCloudClient.isNull()
    329329                      && !machineId().isNull()
    330                       && !m_comAppliance.isNull()
     330                      && !m_comCloudAppliance.isNull()
    331331                      && !m_comVSDForm.isNull());
    332332    }
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