Changeset 22304 in vbox for trunk/src/VBox/Main
- Timestamp:
- Aug 17, 2009 3:55:30 PM (15 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineImpl.cpp
r22300 r22304 2705 2705 } 2706 2706 2707 mData->m_pMachineConfigFile->mapExtraDataItems[strKey] = strValue; 2707 if (strValue.isEmpty()) 2708 mData->m_pMachineConfigFile->mapExtraDataItems.erase(strKey); 2709 else 2710 mData->m_pMachineConfigFile->mapExtraDataItems[strKey] = strValue; 2708 2711 // creates a new key if needed 2709 2712 -
trunk/src/VBox/Main/VirtualBoxImpl.cpp
r22295 r22304 1561 1561 AutoWriteLock alock(this); 1562 1562 1563 m_pMainConfigFile->mapExtraDataItems[strKey] = strValue; 1563 if (strValue.isEmpty()) 1564 m_pMainConfigFile->mapExtraDataItems.erase(strKey); 1565 else 1566 m_pMainConfigFile->mapExtraDataItems[strKey] = strValue; 1564 1567 // creates a new key if needed 1565 1568
Note:
See TracChangeset
for help on using the changeset viewer.