Changeset 37828 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Jul 8, 2011 8:09:58 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r37824 r37828 2921 2921 if (!pDrive) 2922 2922 InsertConfigNode(pCfg, g_apszIDEDrives[uLUN], &pDrive); 2923 PCFGMNODE pNonRot = CFGMR3GetChild(pCtlInst, "NonRotationalMedium");2924 if (pNonRot)2925 CFGMR3RemoveNode(pNonRot);2923 /* Don't use the RemoveConfigValue wrapper above, as we don't 2924 * know if the leaf is present or not. */ 2925 CFGMR3RemoveValue(pDrive, "NonRotationalMedium"); 2926 2926 InsertConfigInteger(pDrive, "NonRotationalMedium", !!fNonRotational); 2927 2927 } … … 2932 2932 if (!pDrive) 2933 2933 InsertConfigNode(pCfg, strPort.c_str(), &pDrive); 2934 PCFGMNODE pNonRot = CFGMR3GetChild(pCtlInst, "NonRotationalMedium");2935 if (pNonRot)2936 CFGMR3RemoveNode(pNonRot);2934 /* Don't use the RemoveConfigValue wrapper above, as we don't 2935 * know if the leaf is present or not. */ 2936 CFGMR3RemoveValue(pDrive, "NonRotationalMedium"); 2937 2937 InsertConfigInteger(pDrive, "NonRotationalMedium", !!fNonRotational); 2938 2938 }
Note:
See TracChangeset
for help on using the changeset viewer.