Changeset 47917 in vbox
- Timestamp:
- Aug 20, 2013 2:08:20 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 88224
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/Settings.cpp
r47503 r47917 3810 3810 Utf8Str str; 3811 3811 elmMachine.getAttributeValue("Description", machineUserData.strDescription); 3812 elmMachine.getAttributeValue("Icon", machineUserData.ovIcon);3813 3814 3812 elmMachine.getAttributeValue("OSType", machineUserData.strOsType); 3815 3813 if (m->sv < SettingsVersion_v1_5) … … 3830 3828 if (elmMachine.getAttributeValue("aborted", fAborted)) 3831 3829 fAborted = true; 3830 3831 elmMachine.getAttributeValue("icon", machineUserData.ovIcon); 3832 3832 3833 3833 // parse Hardware before the other elements because other things depend on it … … 5101 5101 if (machineUserData.strDescription.length()) 5102 5102 elmMachine.createChild("Description")->addContent(machineUserData.strDescription); 5103 if (machineUserData.ovIcon.length())5104 elmMachine.setAttribute("Icon", machineUserData.ovIcon);5105 5103 elmMachine.setAttribute("OSType", machineUserData.strOsType); 5106 5104 if ( strStateFile.length() … … 5121 5119 if (fAborted) 5122 5120 elmMachine.setAttribute("aborted", fAborted); 5121 // Please keep the icon last so that one doesn't have to check if there 5122 // is anything in the line after this very long attribute in the XML. 5123 if (machineUserData.ovIcon.length()) 5124 elmMachine.setAttribute("icon", machineUserData.ovIcon); 5123 5125 if ( m->sv >= SettingsVersion_v1_9 5124 5126 && ( machineUserData.fTeleporterEnabled
Note:
See TracChangeset
for help on using the changeset viewer.