Changeset 22699 in vbox
- Timestamp:
- Sep 2, 2009 9:32:40 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/Settings.cpp
r22318 r22699 1654 1654 throw ConfigFileError(this, &elmSnapshot, N_("Required Snapshot/@name attribute is missing")); 1655 1655 1656 // earlier 3.1 trunk builds had a bug and added Description as an attribute, read it silently and write it back as an element 1656 1657 elmSnapshot.getAttributeValue("Description", snap.strDescription); 1657 1658 … … 2170 2171 pelmSnapshot->setAttribute("uuid", makeString(snap.uuid)); 2171 2172 pelmSnapshot->setAttribute("name", snap.strName); 2172 pelmSnapshot->setAttribute("Description", snap.strDescription);2173 2174 2173 pelmSnapshot->setAttribute("timeStamp", makeString(snap.timestamp)); 2175 2174 2176 2175 if (snap.strStateFile.length()) 2177 2176 pelmSnapshot->setAttribute("stateFile", snap.strStateFile); 2177 2178 if (snap.strDescription.length()) 2179 pelmSnapshot->createChild("Description")->addContent(snap.strDescription); 2178 2180 2179 2181 writeHardware(*pelmSnapshot, snap.hardware);
Note:
See TracChangeset
for help on using the changeset viewer.