Changeset 47503 in vbox for trunk/src/VBox
- Timestamp:
- Aug 1, 2013 9:01:40 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/Settings.cpp
r47401 r47503 1497 1497 } 1498 1498 1499 void MainConfigFile::bumpSettingsVersionIfNeeded() 1500 { 1501 if (m->sv < SettingsVersion_v1_14) 1502 { 1503 // VirtualBox 4.3 adds NAT networks. 1504 if ( !llNATNetworks.empty()) 1505 m->sv = SettingsVersion_v1_14; 1506 } 1507 } 1508 1499 1509 /** 1500 1510 * Called from the IVirtualBox interface to write out VirtualBox.xml. This … … 1503 1513 void MainConfigFile::write(const com::Utf8Str strFilename) 1504 1514 { 1515 bumpSettingsVersionIfNeeded(); 1516 1505 1517 m->strFilename = strFilename; 1506 1518 createStubDocument(); … … 1592 1604 } 1593 1605 1594 /* TODO: bump main version ? */1595 1606 xml::ElementNode *pelmNATNetworks; 1596 1607 /* don't create entry if no NAT networks are registered. */
Note:
See TracChangeset
for help on using the changeset viewer.