Changeset 84455 in vbox
- Timestamp:
- May 22, 2020 12:30:06 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp
r84381 r84455 1431 1431 com::Guid newId; 1432 1432 newId.create(); 1433 strVMName.append("__").append(newId.toString()); 1433 /* 1434 * GUID has the string form "00000000-0000-0000-0000-00000000000". 1435 * Find the last part and append only it. The last 12 characters. 1436 */ 1437 const char* cpLast = strrchr(newId.toString().c_str(), '-'); 1438 strVMName.append("__").append(cpLast+1); 1439 1434 1440 vsd->RemoveDescriptionByType(VirtualSystemDescriptionType_Name); 1435 1441 vsd->AddDescription(VirtualSystemDescriptionType_Name,
Note:
See TracChangeset
for help on using the changeset viewer.