VirtualBox

Changeset 23237 in vbox for trunk


Ignore:
Timestamp:
Sep 22, 2009 7:56:57 PM (15 years ago)
Author:
vboxsync
Message:

Main/Settings: Fix crash when opening pre 1.7 config files. Attached storage devices didn't had the deviceType member set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xml/Settings.cpp

    r23223 r23237  
    15641564            throw ConfigFileError(this, pelmAttachment, N_("Required HardDiskAttachment/@device attribute is missing"));
    15651565
     1566        att.deviceType = DeviceType_HardDisk;
     1567
    15661568        if (strBus == "IDE")
    15671569        {
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