VirtualBox

Changeset 101078 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Sep 11, 2023 1:49:47 PM (17 months ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10500: A fix for r158770, using native cloud VM id instead of universal id.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationObjects.cpp

    r101035 r101078  
    32223222CProgress UINotificationProgressCloudMachineClone::createProgress(COMResult &comResult)
    32233223{
    3224     // This is wrong, we need to acquire ocid, we have no one for now ..
    3225     m_uId = m_comMachine.GetId();
     3224    /* Acquire cloud VM internal id: */
     3225    m_strId = m_comMachine.GetCloudId();
    32263226    if (!m_comMachine.isOk())
    32273227    {
     
    32433243    /* Initialize progress-wrapper: */
    32443244    CCloudMachine comCloneMachine;
    3245     // This is wrong, we need to pass ocid, we have no one for now ..
    3246     const QString strId = m_uId.toString();
    3247     CProgress comProgress = m_comClient.CloneInstance(strId, m_strCloneName, comCloneMachine);
     3245    CProgress comProgress = m_comClient.CloneInstance(m_strId, m_strCloneName, comCloneMachine);
    32483246    /* Store COM result: */
    32493247    comResult = m_comMachine;
  • trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationObjects.h

    r101035 r101078  
    18581858    /** Holds the clone name. */
    18591859    QString        m_strCloneName;
    1860     // This is wrong, we need to store ocid, we have no one for now ..
    1861     QUuid          m_uId;
     1860    /** Holds the machine internal id. */
     1861    QString        m_strId;
    18621862    /** Holds the machine name. */
    18631863    QString        m_strName;
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