VirtualBox

Changeset 33238 in vbox for trunk/src/VBox/Main/xml


Ignore:
Timestamp:
Oct 19, 2010 3:41:23 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
66787
Message:

Main: new VirtualBox::ComposeMachineFilename() API; remove the 'default hard disk folder' concept and related APIs; GUI wizards need fixing

File:
1 edited

Legend:

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

    r33201 r33238  
    12281228                    {
    12291229                        pelmGlobalChild->getAttributeValue("defaultMachineFolder", systemProperties.strDefaultMachineFolder);
    1230                         if (!pelmGlobalChild->getAttributeValue("defaultHardDiskFolder", systemProperties.strDefaultHardDiskFolder))
    1231                             // pre-1.4 used @defaultVDIFolder instead
    1232                             pelmGlobalChild->getAttributeValue("defaultVDIFolder", systemProperties.strDefaultHardDiskFolder);
    12331230                        pelmGlobalChild->getAttributeValue("defaultHardDiskFormat", systemProperties.strDefaultHardDiskFormat);
    12341231                        pelmGlobalChild->getAttributeValue("remoteDisplayAuthLibrary", systemProperties.strRemoteDisplayAuthLibrary);
     
    13361333    if (systemProperties.strDefaultMachineFolder.length())
    13371334        pelmSysProps->setAttribute("defaultMachineFolder", systemProperties.strDefaultMachineFolder);
    1338     if (systemProperties.strDefaultHardDiskFolder.length())
    1339         pelmSysProps->setAttribute("defaultHardDiskFolder", systemProperties.strDefaultHardDiskFolder);
    13401335    if (systemProperties.strDefaultHardDiskFormat.length())
    13411336        pelmSysProps->setAttribute("defaultHardDiskFormat", systemProperties.strDefaultHardDiskFormat);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette