VirtualBox

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


Ignore:
Timestamp:
Jan 11, 2008 11:54:32 AM (17 years ago)
Author:
vboxsync
Message:

FE/Qt: Don't try to delete differencing hard disks after unregisterning them from the VDM window since they will be deleted automatically by the Main API.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxDiskImageManagerDlg.ui.h

    r5999 r6337  
    20242024        CHardDisk disk = item->getMedia().disk;
    20252025        if (disk.GetStorageType() == CEnums::VirtualDiskImage &&
     2026            disk.GetParent().isNull() && /* must not be differencing (see below) */
    20262027            item->getStatus() == VBoxMedia::Ok)
    20272028        {
     
    20332034        else
    20342035        {
     2036            /// @todo note that differencing images are always automatically
     2037            /// deleted when unregistered, but the following message box
     2038            /// doesn't mention it. I keep it as is for now because
     2039            /// implementing the portability feature will most likely change
     2040            /// this behavior (we'll update the message afterwards).
    20352041            if (!vboxProblem().confirmHardDiskUnregister (this, src))
    20362042                return;
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