VirtualBox

Changeset 31683 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Aug 16, 2010 9:39:00 AM (14 years ago)
Author:
vboxsync
Message:

Main: fix crash taking/restoring snapshot (regression from last week's media changes)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/MachineImpl.cpp

    r31615 r31683  
    83458345            DeviceType_T devType = pAtt->getType();
    83468346            Medium* pMedium = pAtt->getMedium();
    8347             ComObjPtr<Medium> pBase = pMedium->getBase();
    83488347
    83498348            if (   devType != DeviceType_HardDisk
     
    83638362                    else
    83648363                        aProgress->SetNextOperation(BstrFmt(tr("Skipping medium '%s'"),
    8365                                                             pBase->getName().c_str()),
     8364                                                            pMedium->getBase()->getName().c_str()),
    83668365                                                    aWeight);        // weight
    83678366                }
     
    83738372            /* need a diff */
    83748373            aProgress->SetNextOperation(BstrFmt(tr("Creating differencing hard disk for '%s'"),
    8375                                                 pBase->getName().c_str()),
     8374                                                pMedium->getBase()->getName().c_str()),
    83768375                                        aWeight);        // weight
    83778376
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