Changeset 95654 in vbox
- Timestamp:
- Jul 14, 2022 2:10:18 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/Settings.cpp
r95644 r95654 75 75 #include <iprt/base64.h> 76 76 #include <iprt/cpp/lock.h> 77 #include <iprt/cpp/utils.h> 77 78 #include <iprt/cpp/xml.h> 78 79 #include <iprt/ctype.h> … … 6381 6382 else if (pelmMachineChild->nameEquals("Autostart")) 6382 6383 readAutostart(*pelmMachineChild, autostart); 6383 else if (pelmMachineChild->nameEquals("Recording")) 6384 else if (pelmMachineChild->nameEquals("Recording")) /* Only exists for settings >= 1.19 (VBox 7.0). */ 6384 6385 readRecordingSettings(*pelmMachineChild, recordingSettings); 6385 6386 else if (pelmMachineChild->nameEquals("Groups")) … … 8345 8346 buildDebuggingXML(elmMachine, debugging); 8346 8347 buildAutostartXML(elmMachine, autostart); 8347 buildRecordingXML(elmMachine, recordingSettings); 8348 8349 /* Note: Must come *after* buildHardwareXML(), as the "Hardware" branch is needed. */ 8350 if ( m->sv >= SettingsVersion_v1_14 8351 && m->sv < SettingsVersion_v1_19) /* < VBox 7.0. */ 8352 { 8353 xml::ElementNode *pelHardware = unconst(elmMachine.findChildElement("Hardware")); 8354 if (pelHardware) 8355 buildRecordingXML(*pelHardware, recordingSettings); 8356 } 8357 else if (m->sv >= SettingsVersion_v1_19) /* Now lives outside of "Hardware", in "Machine". */ 8358 buildRecordingXML(elmMachine, recordingSettings); 8359 8348 8360 buildGroupsXML(elmMachine, machineUserData.llGroups); 8349 8361 }
Note:
See TracChangeset
for help on using the changeset viewer.